dom / latest / rtcrtpsender / track.html /

RTCRtpSender.track

The track read-only property of the RTCRtpSender interface returns the MediaStreamTrack which is being handled by the RTCRtpSender.

Value

A MediaStreamTrack object representing the media associated with the RTCRtpSender. If no track is associated with the sender, this value is null, in which case the sender transmits nothing.

Specifications

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
64
13
34
No
51
11
64
64
34
47
11
9.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/RTCRtpSender/track