| TWiki . Communications . MobicentsMediaRA |
org.mobicents.slee.resource.media.ra.MediaSession object.
org.mobicents.slee.media.EndMediaStream: This event is fired when the end of the media stream is reached.
org.mobicents.slee.media.DTMF: This event is fired when DTMF is received.
org.mobicents.slee.media.SessionResult: This event is fired to know whether the creation of a Transmitter, Receiver or Transmitter-Receiver
was a success or not (async stream creation).
The event type vendor is "org.mobicents.media".
The event type version is "1.0"
org.mobicents.slee.resource.media.events.MediaEvent
org.mobicents.slee.resource.media.ratype.MediaProvider: MediaProvider describes the interface between
SBBs and Media RA. This interface gives us the chance of creating a new Session using the getNewMediaSession() method which creates
and returns a new Media Session with its unique Session ID.
public void createTransmitterReceiver(String sdp, URL fileTx, URL fileRcv, boolean dtmf)
This method is used to transmit and receive audio stream:
public void updateLocalAddress(InetAddress? localHost)
This method is used to change the values used by default:
public String generateSdpDescription(int version, String userName, String sessionName)
This method is to obtain the SDP description of the session created. This information should be sent to the UA which initiates the creation
of the session sending its SDP description.
public void startSession()
To start a session created.
public void stopSession()
To stop a session created.
----- Revision r9 - 07 Jul 2007 - 21:59:18 - Main.ivelin
|