Re: [mediacapture-image] Use constrainable pattern for ImageCapture (#124)

Two updates: I just noticed that `exposureMode` and`focusMode` are 
also 'live' capabilities, since from the moment the user configures 
them to any of their values (e.g. `off`, `single-shot`, `continuous`) 
the effect is immediately visible (as is e.g. `whiteBalanceMode`). 
Apologies for any confusion.  

I like @alvestrand suggestion, so I'll split `torch` mode out of 
`fillLightMode`, the latter being a photo-capability and the former 
being a video constraint.

So the only remaining photo capabilities will be:

```
interface PhotoCapabilities {
  readonly attribute FillLightMode      fillLightMode;  //not 
including 'torch'
  readonly attribute MediaSettingsRange imageHeight;
  readonly attribute MediaSettingsRange imageWidth;
  readonly attribute FillLightMode      fillLightMode;
};
```

Finalising a new pull request so we can continue the conversation 
there.

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

Received on Friday, 3 March 2017 18:14:30 UTC