RTCRtpCodecParameters class

The dictionary, part of the WebRTC API, is used to describe the configuration parameters for a single media codec. In addition to being the type of the RTCRtpParameters.codecs property, it's used when calling RTCRtpTransceiver.setCodecPreferences() to configure a transceiver's codecs before beginning the offer/answer process to establish a WebRTC peer connection. Most of the fields in this property take values which are defined and maintained by the Internet Assigned Numbers Authority (IANA). References to relevant IANA documents are provided in the see also section at the end of this article.

Available extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

RTCRtpCodecParameters({required int payloadType, required String mimeType, required int clockRate, int? channels, String? sdpFmtpLine})
factory

Properties

channels int

Available on RTCRtpCodecParameters, provided by the PropsRTCRtpCodecParameters extension

getter/setter pair
clockRate int

Available on RTCRtpCodecParameters, provided by the PropsRTCRtpCodecParameters extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mimeType String

Available on RTCRtpCodecParameters, provided by the PropsRTCRtpCodecParameters extension

getter/setter pair
payloadType int

Available on RTCRtpCodecParameters, provided by the PropsRTCRtpCodecParameters extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdpFmtpLine String

Available on RTCRtpCodecParameters, provided by the PropsRTCRtpCodecParameters extension

getter/setter pair

Methods

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

Operators

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