Class RTPDestination


  • public class RTPDestination
    extends Object

    RTPDestination: Fully describes an RTP destination.

    • Constructor Detail

      • RTPDestination

        public RTPDestination()
    • Method Detail

      • toString

        public String toString()
        Overrides:
        toString in class Object
      • isMulticast

        public boolean isMulticast()
        Return true if multicast destination
        Returns:
        true if multicast destination
      • isStream

        public boolean isStream()
        Return true if stream destination (and not native RTP destination)
        Returns:
        true if stream destination
      • getHost

        public String getHost()
        Get the host
        Returns:
        host
      • setHost

        public void setHost​(String host)
        Set host
        Parameters:
        host - host
      • getVideoPort

        public int getVideoPort()
        Get video port
        Returns:
        video port
      • setVideoPort

        public void setVideoPort​(int videoPort)
        Set video port
        Parameters:
        videoPort - video port
      • getAudioPort

        public int getAudioPort()
        Get audio port
        Returns:
        audio port
      • setAudioPort

        public void setAudioPort​(int audioPort)
        Set audio port
        Parameters:
        audioPort - audio port
      • getStreamPort

        public int getStreamPort()
        Get stream port
        Returns:
        stream port
      • setStreamPort

        public void setStreamPort​(int streamPort)
        Set stream port
        Parameters:
        streamPort - stream port
      • getVideoHost

        public String getVideoHost()
        Get video host
        Returns:
        video host
      • setVideoHost

        public void setVideoHost​(String videoHost)
        Set video host
        Parameters:
        videoHost - video host
      • getAudioHost

        public String getAudioHost()
        Get audio host
        Returns:
        audio host
      • setAudioHost

        public void setAudioHost​(String audioHost)
        Set audio host
        Parameters:
        audioHost - audio host
      • getHostType

        public String getHostType()
        Get host type (default IP4)
        Returns:
        host type
      • setHostType

        public void setHostType​(String hostType)
        Set host type (default IP4)
        Parameters:
        hostType - host type
      • getTTL

        public int getTTL()
        Get time to live
        Returns:
        time to live
      • setTTL

        public void setTTL​(int ttl)
        Set time to live
        Parameters:
        ttl - time to live
      • isRTPWrapped

        public boolean isRTPWrapped()
        Is stream wrapped in RTP (MPEG-TS in RTP)
        Returns:
        true if stream wrapped in RTP
      • setRTPWrapped

        public void setRTPWrapped​(boolean isRTPWrapped)
        Is stream wrapped in RTP (MPEG-TS in RTP)
        Parameters:
        isRTPWrapped - true if stream wrapped in RTP
      • getName

        public String getName()
        Get name
        Returns:
        name
      • setName

        public void setName​(String name)
        Set name
        Parameters:
        name - name
      • getMulticastInterfaceAddress

        public String getMulticastInterfaceAddress()
      • setMulticastInterfaceAddress

        public void setMulticastInterfaceAddress​(String multicastInterfaceAddress)