The read-only property MediaStreamTrack.id
returns a DOMString
containing a unique identifier (GUID) for the track; it is generated by the browser.
SyntaxEdit
var id = track.id;
ExampleEdit
SpecificationsEdit
Specification | Status | Comment |
---|---|---|
Media Capture and Streams The definition of 'MediaStreamTrack.id' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibilityEdit
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | Not supported | (Yes) | ? |