{"json_modified": "2016-10-19T18:52:27.257067", "uuid": "fb57a49e-4ccb-4f07-bcda-819813d86a88", "title": "MediaTrackSettings.aspectRatio", "url": "/en-US/docs/Web/API/MediaTrackSettings/aspectRatio", "tags": ["aspectRatio", "API", "WebRTC", "MediaTrackSettings", "Reference", "Property", "Media Streams API", "Settings", "Video", "video", "Media Capture and Streams API", "Media"], "translations": [], "modified": "2016-10-19T18:52:27", "label": "MediaTrackSettings.aspectRatio", "localization_tags": [], "locale": "en-US", "id": 196783, "last_edit": "2016-10-19T18:52:21", "summary": "The MediaTrackSettings
dictionary's aspectRatio
property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack
as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.aspectRatio
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": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaTrackSettings/aspectRatio", "review_tags": []}