RTCRtpReceiver.track
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 |
---|
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0) # dom-rtpreceiver-track |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
track |
59 |
12 |
34 |
No |
46 |
11 |
59 |
59 |
34 |
43 |
11 |
7.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track