Contact emails
fbea...@chromium.org, rei...@chromium.org
Spec
Specification: https://w3c.github.io/mediacapture-image/#dom-mediasettingsrange-tojson
PR: https://github.com/w3c/mediacapture-image/pull/234
Summary
Allow web developers to aggregate and easily log media settings ranges (max, min, step) in JSON.
Motivation
Adding toJSON() to MediaSettingsRange will improve developer ergonomics by allowing web developers to easily log and aggregate exposureCompensation, exposureTime, colorTemperature, iso, brightness, contrast, saturation, sharpness, focusDistance, pan, tilt, and zoom.
For info, MediaDeviceInfo returned by navigator.mediaDevices.enumerateDevices() already has a toJSON() method.
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The feature will be supported on all platforms.
Interoperability: None
Gecko: No Signal
Webkit: No Signal
Compatibility: None
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Web platform tests will be updated and available at https://wpt.fyi/results/mediacapture-image.
Feature dashboard