Re: [mediacapture-image] Use the constrainable pattern instead of creating a subtly different function set

I agree with @alvestrand that two nearly identical patterns is a bad 
thing. But two constrainable objects isn't great either. Let's reuse 
the one we have. Move `zoom`.

I agree with @gmandyam there's no contention for settings effective 
only during `takePhoto`(where overlap causes `UnknownError`), making 
the constrainable pattern overkill for the remaining settings.

**Solution:** With `zoom` out of the picture (no pun intended), make 
`takePhoto` take an options object, and remove `setOptions`, then the 
patterns seem sufficiently different.

This streamlines the API by handling the two fundamentally different 
kinds of settings optimally.

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

Received on Monday, 19 December 2016 23:44:57 UTC