RTCTrackEventInit.transceiver

The RTCTrackEventInit dictionary's transceiver property specifies the RTCRtpTransceiver associated with the track event. The transceiver pairs the track's receiver with an RTCRtpSender to allow bidirectional communication.

Syntax

var trackEventInit = {
  receiver: rtpReceiver,
  track: mediaStreamTrack,
  streams: [videoStream],
  transceiver: rtpTransceiver
};

var rtpTransceiver = trackEventInit.transceiver;

Value

The RTCRtpTransceiver which pairs the receiver with a sender and other properties which establish a single bidirectional SRTP stream for use by the track associated with the RTCTrackEvent.

Note: The RTCRtpReceiver referred to by this RTCRtpReceiver's receiver property will always be the same as the RTCTrackEvent's receiver property.

Specifications

Specification
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)
# dom-rtctrackeventinit-transceiver

Browser compatibility

BCD tables only load in the browser