[mediacapture-image] Should we treat PTZ constraints given to getUserMedia as booleans (#270)

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

== Should we treat PTZ constraints given to getUserMedia as booleans ==
Following on TPAC meeting, it seems there is a desire to have a model where pan, tilt and zoom constraints given to getUserMedia are for device selection. It would be thus recommended to pass booleans there.
For applyConstraints however, given the device is already selected, it makes sense to not pass boolean but pass numerical values. It would be thus recommended to pass numerical values there.

We should probably make it clear in specs and examples that this is the recommended way.
We could also decide to mandate that behavior in the spec and always treat pan tilt zoom constraints in getUserMedia as if they are true whenever present.

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


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

Received on Wednesday, 21 October 2020 09:00:12 UTC