Class RTPConnectorUDPImpl

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

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

      • RTPConnectorUDPImpl

        public 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.
        Parameters:
        connector - the pair of datagram sockets for RTP and RTCP traffic the new instance is to use
    • Method Detail

      • getDataSocket

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

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