RtpHeaderExtensionParameters class

Defines a RTP header extension within the RTP parameters. The list of RTP header extensions supported by mediasoup is defined in the supportedRtpCapabilities.ts file.

mediasoup does not currently support encrypted RTP header extensions and no parameters are currently considered.

Constructors

RtpHeaderExtensionParameters({String? uri, int? id, bool? encrypt, Map parameters = const {}})
RtpHeaderExtensionParameters.fromMap(Map data)

Properties

encrypt bool?
If true, the value in the header is encrypted as per RFC 6904. Default false.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
The numeric identifier that goes in the RTP packet. Must be unique.
final
parameters Map
Configuration parameters for the header extension.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The URI of the RTP header extension, as defined in RFC 5285.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited