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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support48 — 5912 Yes No35 — 46 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support48 — 5948 — 59 Yes Yes35 — 46 ?5.0

See also

 

Document Tags and Contributors

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