public class RTPConnectorUDPImpl extends AbstractRTPConnector
connector
Constructor and Description |
---|
RTPConnectorUDPImpl(StreamConnector connector)
Initializes a new RTPConnectorUDPImpl which is to use a given
pair of datagram sockets for RTP and RTCP traffic specified in the form
of a StreamConnector.
|
Modifier and Type | Method and Description |
---|---|
protected RTPConnectorInputStream<?> |
createControlInputStream()
Creates the RTCP packet input stream to be used by RTPManager.
|
protected RTPConnectorOutputStream |
createControlOutputStream()
Creates the RTCP packet output stream to be used by RTPManager.
|
protected RTPConnectorInputStream<?> |
createDataInputStream()
Creates the RTP packet input stream to be used by RTPManager.
|
protected RTPConnectorOutputStream |
createDataOutputStream()
Creates the RTP packet output stream to be used by RTPManager.
|
java.net.DatagramSocket |
getControlSocket()
Gets the UDP Socket this instance uses to send and receive RTCP packets.
|
java.net.DatagramSocket |
getDataSocket()
Gets the UDP socket this instance uses to send and receive RTP packets.
|
addTarget, close, getConnector, getControlInputStream, getControlInputStream, getControlOutputStream, getControlOutputStream, getDataInputStream, getDataInputStream, getDataOutputStream, getDataOutputStream, getReceiveBufferSize, getRTCPBandwidthFraction, getRTCPSenderBandwidthFraction, getSendBufferSize, removeTarget, removeTargets, setDirection, setReceiveBufferSize, setSendBufferSize
public RTPConnectorUDPImpl(StreamConnector connector)
connector
- the pair of datagram sockets for RTP and RTCP traffic
the new instance is to usepublic java.net.DatagramSocket getDataSocket()
public java.net.DatagramSocket getControlSocket()
protected RTPConnectorInputStream<?> createControlInputStream() throws java.io.IOException
createControlInputStream
in class AbstractRTPConnector
java.io.IOException
- if an error occurs during the creation of the RTCP
packet input streamprotected RTPConnectorOutputStream createControlOutputStream() throws java.io.IOException
createControlOutputStream
in class AbstractRTPConnector
java.io.IOException
- if an error occurs during the creation of the RTCP
packet output streamprotected RTPConnectorInputStream<?> createDataInputStream() throws java.io.IOException
createDataInputStream
in class AbstractRTPConnector
java.io.IOException
- if an error occurs during the creation of the RTP
packet input streamprotected RTPConnectorOutputStream createDataOutputStream() throws java.io.IOException
createDataOutputStream
in class AbstractRTPConnector
java.io.IOException
- if an error occurs during the creation of the RTP
packet output stream
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.