Class RTPConnectorTCPImpl

  • All Implemented Interfaces:
    javax.media.rtp.RTPConnector
    Direct Known Subclasses:
    RTPTransformTCPConnector

    public class RTPConnectorTCPImpl
    extends AbstractRTPConnector
    RTPConnector implementation for UDP.
    Author:
    Sebastien Vincent
    • Constructor Detail

      • RTPConnectorTCPImpl

        public RTPConnectorTCPImpl​(StreamConnector connector)
        Initializes a new RTPConnectorTCPImpl which is to use a given pair of sockets for RTP and RTCP traffic specified in the form of a StreamConnector.
        Parameters:
        connector - the pair of sockets for RTP and RTCP traffic the new instance is to use
    • Method Detail

      • getDataSocket

        public Socket getDataSocket()
        Gets the TCP socket this instance uses to send and receive RTP packets.
        Returns:
        the TCP socket this instance uses to send and receive RTP packets
      • getControlSocket

        public Socket getControlSocket()
        Gets the TCP Socket this instance uses to send and receive RTCP packets.
        Returns:
        the TCP Socket this instance uses to send and receive RTCP packets