Re: [mediacapture-image] Replace PTZ boolean normalization with boolean constraints (#271)

@riju @youennf PTAL.

TL;DR: We no longer need to normalize away boolean inputs to non-boolean constraints as they're handled in [fitness distance](https://w3c.github.io/mediacapture-main/getusermedia.html#dfn-fitness-distance): _"4. If constraintValue is a boolean, but the constrainable property is not, then the fitness distance is based on whether the settings dictionary's constraintName member exists or not, from the formula `(constraintValue == exists) ? 0 : 1`"_

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/pull/271#issuecomment-799626243 using your GitHub account


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

Received on Monday, 15 March 2021 17:58:08 UTC