|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A programmer may abstract the underlying transport mechanism for RTP control and data from the RTPManager. This is done via the RTPConnector object. An implementation of the RTPConnector must be created and handed over to RTPManager during initialization. The RTPManager will then use it to handle the sending and receiving of the data and control packets. This replaces the deprecated RTPSocket interface.
RTPManager
Method Summary | |
void |
close()
Close all the RTP, RTCP streams. |
PushSourceStream |
getControlInputStream()
Returns an input stream to receive the RTCP data. |
OutputDataStream |
getControlOutputStream()
Returns an output stream to send the RTCP data. |
PushSourceStream |
getDataInputStream()
Returns an input stream to receive the RTP data. |
OutputDataStream |
getDataOutputStream()
Returns an output stream to send the RTP data. |
int |
getReceiveBufferSize()
Get the receive buffer size set on the RTP data channel. |
double |
getRTCPBandwidthFraction()
Return the RTCP bandwidth fraction. |
double |
getRTCPSenderBandwidthFraction()
Return the RTCP sender bandwidth fraction. |
int |
getSendBufferSize()
Get the send buffer size set on the RTP data channel. |
void |
setReceiveBufferSize(int size)
Set the receive buffer size of the RTP data channel. |
void |
setSendBufferSize(int size)
Set the send buffer size of the RTP data channel. |
Method Detail |
public PushSourceStream getDataInputStream() throws java.io.IOException
public OutputDataStream getDataOutputStream() throws java.io.IOException
public PushSourceStream getControlInputStream() throws java.io.IOException
public OutputDataStream getControlOutputStream() throws java.io.IOException
public void close()
public void setReceiveBufferSize(int size) throws java.io.IOException
size
- the size to which to set the receive buffer of the
RTP data channel.public int getReceiveBufferSize()
size
- of the receive buffers.public void setSendBufferSize(int size) throws java.io.IOException
size
- the size to which to set the send buffer of the
RTP data channel.public int getSendBufferSize()
size
- of the send buffers.public double getRTCPBandwidthFraction()
RTPManager.initialize(javax.media.rtp.SessionAddress)
public double getRTCPSenderBandwidthFraction()
RTPManager.initialize(javax.media.rtp.SessionAddress)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |