MediaStreamTrack.remote

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The MediaStreamTrack.remote read-only property allows Javascript to know whether a WebRTC MediaStreamTrack is from a remote source or a local one. It returns a Boolean with a value of true if the track is sourced remotely (that is, sourced by an RTCPeerConnection), or false if it is sourced locally.

Syntax

var bool ​= track.remote;

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrack.remote' 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
Basic support
DeprecatedNon-standard
Chrome No support 48 — 59Edge Full support 12Firefox Full support YesIE No support NoOpera No support 35 — 46Safari ? WebView Android No support 48 — 59Chrome Android No support 48 — 59Edge Mobile Full support YesFirefox Android Full support YesOpera Android No support 35 — 46Safari iOS ? Samsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also

 

Document Tags and Contributors

Contributors to this page: connorshea, jpmedley, libbymc, dgashmdn
Last updated by: connorshea,