public class RTPTransformTCPConnector extends RTPConnectorTCPImpl
TransformEngine
,
RTPConnector
,
RTPManager
connector
Constructor and Description |
---|
RTPTransformTCPConnector(StreamConnector connector)
Initializes a new TransformConnector 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 RTPConnectorTCPInputStream |
createControlInputStream()
Overrides RTPConnectorImpl#createControlInputStream() to use
TransformInputStream.
|
protected TransformTCPOutputStream |
createControlOutputStream()
Overrides RTPConnectorImpl#createControlOutputStream() to use
TransformOutputStream.
|
protected RTPConnectorTCPInputStream |
createDataInputStream()
Overrides RTPConnectorImpl#createDataInputStream() to use
TransformInputStream.
|
protected TransformTCPOutputStream |
createDataOutputStream()
Overrides RTPConnectorImpl#createDataOutputStream() to use
TransformOutputStream.
|
TransformEngine |
getEngine()
Gets the customized TransformEngine which contains the concrete
transform logic.
|
void |
setEngine(TransformEngine engine)
Sets the customized TransformEngine which contains the concrete
transform logic.
|
getControlSocket, getDataSocket
addTarget, close, getConnector, getControlInputStream, getControlInputStream, getControlOutputStream, getControlOutputStream, getDataInputStream, getDataInputStream, getDataOutputStream, getDataOutputStream, getReceiveBufferSize, getRTCPBandwidthFraction, getRTCPSenderBandwidthFraction, getSendBufferSize, removeTarget, removeTargets, setDirection, setReceiveBufferSize, setSendBufferSize
public RTPTransformTCPConnector(StreamConnector connector)
connector
- the pair of datagram sockets for RTP and RTCP traffic
the new instance is to useprotected RTPConnectorTCPInputStream createControlInputStream() throws java.io.IOException
createControlInputStream
in class RTPConnectorTCPImpl
java.io.IOException
- if an error occurs during the creation of the RTCP
packet input streamprotected TransformTCPOutputStream createControlOutputStream() throws java.io.IOException
createControlOutputStream
in class RTPConnectorTCPImpl
java.io.IOException
- if an error occurs during the creation of the RTCP
packet output streamprotected RTPConnectorTCPInputStream createDataInputStream() throws java.io.IOException
createDataInputStream
in class RTPConnectorTCPImpl
java.io.IOException
- if an error occurs during the creation of the RTP
packet input streamprotected TransformTCPOutputStream createDataOutputStream() throws java.io.IOException
createDataOutputStream
in class RTPConnectorTCPImpl
java.io.IOException
- if an error occurs during the creation of the RTP
packet output streampublic TransformEngine getEngine()
public void setEngine(TransformEngine engine)
engine
- the TransformEngine which contains the concrete
transform logic
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.