[mediacapture-main] applyConstraints() could be more useful (#1017)

eladalon1983 has just created a new issue for https://github.com/w3c/mediacapture-main:

== applyConstraints() could be more useful ==
`applyConstraints()` returns a promise.
* If the track is "[ended](https://w3c.github.io/mediacapture-main/#idl-def-MediaStreamTrackState.ended)", the promise is resolved.
* Otherwise, the promise is either...
  * ...rejected if there is a problem.
  * ...resolved if no problem is detected.

While this is somewhat useful, it might be more useful to specify that the promise is only resolved after the new set of constraints has taken effect, and all new frames emitted by the track are guaranteed to be subject to the new set of constraints.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/1017 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 October 2024 08:54:11 UTC