applyConstraints() allows changing the constraints associated with a MediaStreamTrack. This is useful to change settings such as video resolution or frame rate. applyConstraints() was previously released with support for ImageCapture (https://w3c.github.io/mediacapture-image/). This feature includes adding support for the main spec (https://w3c.github.io/mediacapture-main/).
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 63
- Chrome for Android release 63
- Android WebView release 63
Consensus & Standardization
Last updated on 2021-05-05