RTCRtpTransceiver class

The WebRTC interface describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state. Each SDP 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 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 mid property, which is the same as the media ID (mid) of its corresponding m-line. An is associated with an m-line if its mid is non-null; otherwise it's considered disassociated.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

RTCRtpTransceiver()
factory

Properties

currentDirection RTCRtpTransceiverDirection?

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

no setter
direction RTCRtpTransceiverDirection

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

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

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

no setter
receiver RTCRtpReceiver

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender RTCRtpSender

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCodecPreferences(Iterable<RTCRtpCodecCapability> codecs) → void

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

stop() → void

Available on RTCRtpTransceiver, provided by the PropsRTCRtpTransceiver extension

toString() String
A string representation of this object.
inherited

Operators

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