Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

zapIMediaSession Interface Reference

import "zapIMediaSession.idl";

List of all members.


Detailed Description

XXX This will change when we support several concurrent media streams.


Public Member Functions

void init (in ACString originUsername, in ACString originAddress, in ACString callAudioIn, in ACString callAudioOut, in ACString callTEventIn,[array, size_is(codec_count)] in string codecs, in unsigned long codec_count,[array, size_is(stunServer_count)] in string stunServers, in unsigned long stunServer_count, in zapIMediaSessionListener listener)
boolean isOfferAcceptable (in zapISdpSessionDescription offer)
 Check if the given offer is acceptable to us, i.e.
zapISdpSessionDescription generateSDPOffer ()
 Generate an sdp offer.
zapISdpSessionDescription processSDPOffer (in zapISdpSessionDescription offer)
 Process other party's sdp offer and generate an answer.
void processSDPAnswer (in zapISdpSessionDescription answer)
 Process other party's sdp answer.
void startSession ()
 startSession() must only be called after a successful call to processSDPOffer() or processSDPAnswer()
void shutdown ()


Member Function Documentation

zapISdpSessionDescription zapIMediaSession::generateSDPOffer  ) 
 

Generate an sdp offer.

This function must only be called after the media session is fully initialized (i.e. after zapIMediaSessionListener::mediaSessionInitialized() has been called.

void zapIMediaSession::init in ACString  originUsername,
in ACString  originAddress,
in ACString  callAudioIn,
in ACString  callAudioOut,
in ACString  callTEventIn,
[array, size_is(codec_count)] in string  codecs,
in unsigned long  codec_count,
[array, size_is(stunServer_count)] in string  stunServers,
in unsigned long  stunServer_count,
in zapIMediaSessionListener  listener
 

boolean zapIMediaSession::isOfferAcceptable in zapISdpSessionDescription  offer  ) 
 

Check if the given offer is acceptable to us, i.e.

if we can accept any media sessions proposed in the offer.

Returns true if the offer is acceptable, false otherwise.

void zapIMediaSession::processSDPAnswer in zapISdpSessionDescription  answer  ) 
 

Process other party's sdp answer.

This function must only be called after the media session is fully initialized (i.e. after zapIMediaSessionListener::mediaSessionInitialized() has been called.

Throws an exception if the answer is not acceptable.

zapISdpSessionDescription zapIMediaSession::processSDPOffer in zapISdpSessionDescription  offer  ) 
 

Process other party's sdp offer and generate an answer.

This function must only be called after the media session is fully initialized (i.e. after zapIMediaSessionListener::mediaSessionInitialized() has been called.

Throws an exception if the offer is not acceptable.

void zapIMediaSession::shutdown  ) 
 

void zapIMediaSession::startSession  ) 
 

startSession() must only be called after a successful call to processSDPOffer() or processSDPAnswer()


The documentation for this interface was generated from the following file:
Generated on Mon Dec 1 12:00:04 2008 for Mozilla ZAP by  doxygen 1.4.4