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
Browser compatibility
Feature |
Chrome |
Edge |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari |
Basic support |
(Yes) |
(Yes) |
(Yes) |
No support |
(Yes) |
? |
Feature |
Android |
Android Webview |
Edge |
Firefox Mobile (Gecko) |
IE Mobile |
Opera Mobile |
Safari Mobile |
Chrome for Android |
Basic support |
? |
(Yes) |
(Yes) |
? |
No support |
? |
? |
(Yes) |
See also
Document Tags and Contributors
Last updated by:
libbymc,