org.mobicents.media.server.spi.rtp
Interface RtpManager
public interface RtpManager
- Author:
- kulikov
setListener
void setListener(RtpListener listener)
getListener
RtpListener getListener()
getBindAddress
java.lang.String getBindAddress()
- Gets the IP address to which trunk is bound. All endpoints of the trunk use this address for RTP connection.
- Returns:
- the IP address string to which this trunk is bound.
start
void start(long now)
throws java.net.SocketException,
java.io.IOException
- Throws:
java.net.SocketException
java.io.IOException
stop
void stop()
getRTPSocket
RtpSocket getRTPSocket(MediaType media)
throws java.io.IOException,
ResourceUnavailableException
- Constructs new RTP socket for the specified media type.
- Returns:
- the RTPSocketInstance.
- Throws:
StunException
java.io.IOException
java.net.SocketException
StunException
java.io.IOException
ResourceUnavailableException
Copyright © 2010. All Rights Reserved.