{"json_modified": "2016-10-20T16:18:42.334297", "uuid": "19d5d550-b0ad-427f-ac73-5968a6d9e4e3", "title": "MediaTrackSettings.deviceId", "url": "/en-US/docs/Web/API/MediaTrackSettings/deviceId", "tags": ["API", "deviceId", "WebRTC", "Reference", "Property", "Media Streams API", "Settings", "MediaTrackSettings", "Media Capture and Streams API", "Media"], "translations": [], "modified": "2016-10-20T16:18:42", "label": "MediaTrackSettings.deviceId", "localization_tags": [], "locale": "en-US", "id": 196789, "last_edit": "2016-10-20T16:18:34", "summary": "The MediaTrackSettings
dictionary's deviceId
property is a DOMString
which uniquely identifies the source for the corresponding MediaStreamTrack
for the origin corresponding to the browsing session. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.deviceId
property you provided when calling either getUserMedia()
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaTrackSettings/deviceId", "review_tags": []}