The track
read-only property of the
RTCRtpReceiver
interface returns the MediaStreamTrack
associated with the current RTCRtpReceiver
instance.
Syntax
var mediaStreamTrack = rtcRtpReceiver.track
Value
A MediaStreamTrack
instance.
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'track' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
BCD tables only load in the browser