{"json_modified": "2016-10-19T19:10:06.338728", "uuid": "97336a73-5830-402a-a5cb-514fe998f2a0", "title": "MediaTrackSettings.facingMode", "url": "/en-US/docs/Web/API/MediaTrackSettings/facingMode", "tags": ["API", "WebRTC", "MediaTrackSettings", "Reference", "Property", "Media Streams API", "Settings", "Video", "video", "Media Capture and Streams API", "Media", "facingMode"], "translations": [], "modified": "2016-10-19T19:10:06", "label": "MediaTrackSettings.facingMode", "localization_tags": [], "locale": "en-US", "id": 196787, "last_edit": "2016-10-19T19:09:59", "summary": "The MediaTrackSettings
dictionary's facingMode
property is a DOMString
indicating the direction in which the camera producing the video track represented by the MediaStreamTrack
is currently facing. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.facingMode
property you provided when calling either getUserMedia()
or MediaStreamTrack.applyConstraints()
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "VideoFacingModeEnum", "title": "VideoFacingModeEnum"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaTrackSettings/facingMode", "review_tags": []}