The WebRTC interface RTCRtpTransceiver
describes a permanent pairing of an RTCRtpSender
and an RTCRtpReceiver
, along with some shared state.
Documentation RTCRtpTransceiver by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
read onlycurrentDirection:RtpTransceiverDirection
A string from the enum RTCRtpTransceiverDirection
which indicates the transceiver's current directionality, or null
if the transceiver is stopped or has never participated in an exchange of offers and answers.
direction:RtpTransceiverDirection
A string from the enum RTCRtpTransceiverDirection
which is used to set the transceiver's desired direction.
read onlymid:String
The media ID of the m-line associated with this transceiver. This association is established, when possible, whenever either a local or remote description is applied. This field is null
if neither a local or remote description has been applied, or if its associated m-line is rejected by either a remote offer or any answer.
read onlyreceiver:RtpReceiver
The RTCRtpReceiver
object that handles receiving and decoding incoming media.