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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
track | Chrome Full support 59 | Edge Full support 12 | Firefox Full support Yes | IE No support No | Opera Full support 46 | Safari Full support Yes | WebView Android Full support 59 | Chrome Android Full support 59 | Firefox Android Full support Yes | Opera Android Full support 43 | Safari iOS Full support Yes | Samsung Internet Android Full support 7.0 |
Legend
- Full support
- Full support
- No support
- No support