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

@jan-ivar, if the spec stated that pan and tilt were in degrees with at most 2 decimal points, that could remove some of the sharp edge from the user side. It's unlikely anyone would ever need less than `0.01` of a degree, and users could do comparisons with simple JavaScript thanks to type coercion:

```
track.getSettings().pan == pan.toFixed(2)
```

There's still the sharp edge where they need to know to use `toFixed(2)`, but it's at least a simple and clean solution to the problem in JavaScript.

The only way to fully remove the sharp edge is to use arc-degrees, but it seems like there's not much support for that.

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

Received on Saturday, 24 June 2017 05:36:13 UTC