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 | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCTrackEventInit.transceiver' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibility
BCD tables only load in the browser