Class Rtp


  • public final class Rtp
    extends ApplicationFormat
    The implementation of the <description/> element in the urn:xmpp:jingle:apps:rtp:1 namespace.
    • Constructor Detail

      • Rtp

        public Rtp​(String media,
                   String ssrc,
                   Rtp.Bandwidth bandwidth,
                   Rtp.Encryption encryption)
        Parameters:
        media - The media type, such as "audio" or "video", where the media type SHOULD be as registered at IANA MIME Media Types Registry.
        ssrc - Specifies the 32-bit synchronization source for this media stream, as defined in RFC 3550.
        bandwidth - The allowable or preferred bandwidth for use by this application type.
        encryption - The encryption.
    • Method Detail

      • getMedia

        public String getMedia()
        Gets the media, such as "audio" or "video".
        Returns:
        The media.
      • getPayloadTypes

        public List<Rtp.PayloadType> getPayloadTypes()
        Gets the payload types.
        Returns:
        The payload types.
      • getEncryption

        public Rtp.Encryption getEncryption()
        Gets the encryption element.
        Returns:
        The encryption.
      • getSynchronizationSource

        public String getSynchronizationSource()
        Gets the 32-bit synchronization source for this media stream, as defined in RFC 3550.
        Returns:
        The 32-bit synchronization source for this media stream, as defined in RFC 3550.
      • getBandwidth

        public Rtp.Bandwidth getBandwidth()
        Gets the band width.
        Returns:
        The band width.