Re: [mediacapture-main] What does "getSettings" return?

Firefox Developer Edition already implements `getSettings` and can be 
seen in action here: https://jsfiddle.net/7udgdbbu/

For width/height it returns the same thing as `element.videoWidth` and
 `element.videoHeight`. This is spec compliant AFAIK.

There's no mention of cropping in the spec, so I consider cropping in 
Chrome to be a hack, which to be spec compliant, must be considered 
just another virtual camera resolution.

We believe Firefox implements getUserMedia to the spec, as a discovery
 API. There's an inherent conflict when you add rescaling of any sort:
 *If you get exactly what you want then you've discovered nothing.*  
(One can play tricks with min/max, but in general this is true).

So Firefox does not support cropping. It doesn't even support 
rescaling, though we are feeling the pressure to implement rescaling 
at least, in https://bugzil.la/1286945 , as privacy properties are 
better and surprises fewer with concurrent gUM access (less discovery 
== more privacy).

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

Received on Tuesday, 23 August 2016 15:01:48 UTC