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.
|
DatagramSocket |
getControlSocket()
Gets the UDP Socket this instance uses to send and receive RTCP packets.
|
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, setSendBufferSizepublic RTPConnectorUDPImpl(StreamConnector connector)
connector - the pair of datagram sockets for RTP and RTCP traffic
the new instance is to usepublic DatagramSocket getDataSocket()
public DatagramSocket getControlSocket()
protected RTPConnectorInputStream<?> createControlInputStream() throws IOException
createControlInputStream in class AbstractRTPConnectorIOException - if an error occurs during the creation of the RTCP
packet input streamprotected RTPConnectorOutputStream createControlOutputStream() throws IOException
createControlOutputStream in class AbstractRTPConnectorIOException - if an error occurs during the creation of the RTCP
packet output streamprotected RTPConnectorInputStream<?> createDataInputStream() throws IOException
createDataInputStream in class AbstractRTPConnectorIOException - if an error occurs during the creation of the RTP
packet input streamprotected RTPConnectorOutputStream createDataOutputStream() throws IOException
createDataOutputStream in class AbstractRTPConnectorIOException - if an error occurs during the creation of the RTP
packet output streamCopyright © 2022 jitsi.org. All rights reserved.