Module webrtc.java

Class RTCRtpHeaderExtensionParameters


  • public class RTCRtpHeaderExtensionParameters
    extends Object
    Enables an application to determine whether a header extension is configured for use within an RTCRtpSender or RTCRtpReceiver.
    Author:
    Alex Andres
    • Field Detail

      • uri

        public final String uri
        The URI of the RTP header extension.
      • id

        public final int id
        The value put in the RTP packet to identify the header extension.
      • encrypted

        public final boolean encrypted
        Whether the header extension is encrypted or not.
    • Constructor Detail

      • RTCRtpHeaderExtensionParameters

        public RTCRtpHeaderExtensionParameters​(String uri,
                                               int id,
                                               boolean encrypted)
        Creates an instance of RTCRtpHeaderExtensionParameters with the specified header extension parameters.
        Parameters:
        uri - The URI of the RTP header extension.
        id - The value put in the RTP packet to identify the header extension.
        encrypted - Whether the header extension is encrypted or not.