The read-only property is a DOMString containing 36 characters denoting a unique identifier (GUID) for the object.


var id =;


var p = navigator.mediaDevices.getUserMedia({ audio: true, video: true });

p.then(function(stream) {


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

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 41 (41) ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 41.0 (41) ? ? ?

See Also

Document Tags and Contributors

 Contributors to this page: teoli
 Last updated by: teoli,