RtpCodecCapability class

Representation of static capabilities of an endpoint's implementation of a codec.

Constructors

RtpCodecCapability(String mimeType, int? clockRate, Map<String, String> parameters, MediaKind kind, String name, int? numChannels, int? preferredPayloadType)

Properties

clockRate int?
If unset, the implementation default is used.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind MediaKind
MediaKind of this codec. Equivalent to MIME top-level type.
getter/setter pair
mimeType String
Built MIME "type/subtype" string from name and kind.
getter/setter pair
name String
Used to identify the codec. Equivalent to MIME subtype.
getter/setter pair
numChannels int?
Number of audio channels used.
getter/setter pair
parameters Map<String, String>
Codec-specific parameters that must be signaled to the remote party.
getter/setter pair
preferredPayloadType int?
Default payload type for the codec.
getter/setter pair
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

fromFFI(RtpCodecCapability capability) RtpCodecCapability
fromMap(dynamic map) RtpCodecCapability