RTCRtpTransceiver extension type

The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state.

Each media section describes one bidirectional SRTP ("Secure Real Time Protocol") stream (excepting the media section for RTCDataChannel, if present). This pairing of send and receive SRTP streams is significant for some applications, so RTCRtpTransceiver is used to represent this pairing, along with other important state from the media section. Each non-disabled SRTP media section is always represented by exactly one transceiver.

A transceiver is uniquely identified using its RTCRtpTransceiver.mid property, which is the same as the media ID (mid) of its corresponding m-line. An RTCRtpTransceiver is associated with an m-line if its mid is non-null; otherwise it's considered disassociated.

on
Implemented types

Properties

currentDirection RTCRtpTransceiverDirection?
no setter
direction RTCRtpTransceiverDirection
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mid String?
no setter
receiver RTCRtpReceiver
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender RTCRtpSender
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCodecPreferences(JSArray<RTCRtpCodecCapability> codecs) → void
The RTCRtpTransceiver method setCodecPreferences() configures the transceiver's preferred list of codecs.
stop() → void
The stop() method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver.
toString() String
A string representation of this object.
inherited

Operators

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