We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

MediaStreamTrack.id

The read-only property MediaStreamTrack.id returns a DOMString containing a unique identifier (GUID) for the track; it is generated by the browser.

Syntax

 var id = track.id;

Example

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrack.id' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes12 Yes No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes ? Yes ? Yes

See also

Document Tags and Contributors

Contributors to this page: fscholz, libbymc, jpmedley, teoli
Last updated by: fscholz,