Re: [mediacapture-image] Add pan and tilt constraints

FWIW, since the UA actually stores the constraints, could implementations fix these rounding errors?

E.g. If `track.getConstraints().pan.ideal` is `21.234`, then `track.getSettings().pan` could return `21.234` instead of `21.2335`.

Even if it changed back to `21.2335` once you removed the constraint, it wouldn't be that weird (who knows, maybe the UA decided to move it a tiny bit).

There seems to be some allowance for spec'ing this sort of thing in this mediacapture spec [note](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-constrainablepattern-getcapabilities()).

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

Received on Saturday, 24 June 2017 03:11:15 UTC