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/).
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints