MediaStreamTrack.remote

This article needs a technical review. How you can help.

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.
Editor's Draft Initial definition.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 48.0 (Yes) (Yes) No support (Yes) ?
Feature Android Android Webview Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 48.0 (Yes) (Yes) No support (Yes) ? 48.0

See also

 

Document Tags and Contributors

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