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 Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'track' in that specification.
Candidate Recommendation Initial definition.

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
trackChrome Full support 59Edge Full support 12Firefox Full support YesIE ? Opera Full support 46Safari Full support YesWebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android Full support 43Safari iOS Full support YesSamsung Internet Android Full support 7.0

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, jpmedley, fscholz
Last updated by: mdnwebdocs-bot,