Module webrtc.java

Class RTCRtpHeaderExtensionParameters

java.lang.Object
dev.onvoid.webrtc.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
    Whether the header extension is encrypted or not.
    final int
    The value put in the RTP packet to identify the header extension.
    final String
    The URI of the RTP header extension.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RTCRtpHeaderExtensionParameters(String uri, int id, boolean encrypted)
    Creates an instance of RTCRtpHeaderExtensionParameters with the specified header extension parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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 Details

    • 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.
  • Method Details