The MediaStreamTrack.id
read-only property returns a
DOMString
containing a unique identifier (GUID) for the track, which is
generated by the user agent.
Syntax
const id = track.id
Specifications
Specification | Status | Comment |
---|---|---|
Media Capture and Streams The definition of 'MediaStreamTrack.id' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibility
BCD tables only load in the browser