Consolidate standard and non-standard constraints under standard syntax
- Category
- Realtime / Communication
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- None
Summary
Chromium currently supports two different syntaxes for specifying video and audio constraints for the getUserMedia() function. The old syntax has support for one set of constraints, including several nonstandard ones, and the new syntax has support for a different set of constraints, all of which are standardized. The plan with the current nonstandard constraints is to encourage users to migrate to the new syntax and remove them once usage is very low.
Standards & signals
- Specification: https://w3c.github.io/mediacapture-main/
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: http://crbug.com/924485
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=consolidate-standard-and-non-standard-constraints-under-standard-syntax
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Consolidate%20standard%20and%20non-standard%20constraints%20under%20standard%20syntax
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Consolidate%20standard%20and%20non-standard%20constraints%20under%20standard%20syntax
- Baseline status: https://webstatus.dev/?q=Consolidate%20standard%20and%20non-standard%20constraints%20under%20standard%20syntax
Samples: https://webrtc.github.io/samples/