RtpCapabilities class
The RTP capabilities define what mediasoup or an endpoint can receive at media level.
Constructors
-
RtpCapabilities({List<
RtpCodecCapability> codecs = const [], List<RtpHeaderExtension> headerExtensions = const [], List<String> fecMechanisms = const []}) - RtpCapabilities.fromMap(Map data)
Properties
-
codecs
→ List<
RtpCodecCapability> -
Supported media and RTX codecs.
final
-
fecMechanisms
→ List<
String> -
Supported FEC mechanisms.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerExtensions
→ List<
RtpHeaderExtension> -
Supported RTP header extensions.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
copy(
RtpCapabilities old, {List< RtpCodecCapability> ? codecs, List<RtpHeaderExtension> ? headerExtensions, List<String> ? fecMechanisms}) → RtpCapabilities