public abstract class AbstractPacketizer
extends java.lang.Object
Constructor and Description |
---|
AbstractPacketizer() |
Modifier and Type | Method and Description |
---|---|
RtpSocket |
getRtpSocket() |
int |
getSSRC() |
void |
setDestination(java.net.InetAddress dest,
int rtpPort,
int rtcpPort)
Sets the destination of the stream.
|
void |
setInputStream(java.io.InputStream is) |
void |
setSSRC(int ssrc) |
void |
setTimeToLive(int ttl) |
abstract void |
start()
Starts the packetizer.
|
abstract void |
stop()
Stops the packetizer.
|
public RtpSocket getRtpSocket()
public void setSSRC(int ssrc)
public int getSSRC()
public void setInputStream(java.io.InputStream is)
public void setTimeToLive(int ttl) throws java.io.IOException
java.io.IOException
public void setDestination(java.net.InetAddress dest, int rtpPort, int rtcpPort)
dest
- The destination address of the streamrtpPort
- Destination port that will be used for RTPrtcpPort
- Destination port that will be used for RTCPpublic abstract void start()
public abstract void stop()