RTCTrackEvent.track

The WebRTC API interface RTCTrackEvent's read-only track property specifies the MediaStreamTrack that has been added to the RTCPeerConnection.

Syntax

var track = trackEvent.track;

Value

A MediaStreamTrack indicating the track which has been added to the RTCPeerConnection.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCTrackEvent.track' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

BCD tables only load in the browser