Re: getCapabilities() as both static and object method?

On 15/05/2014 4:09 AM, Harald Alvestrand wrote:
>>
>> If the latter, what values? Some union (or intersection?) of all 
>> camera capabilities on a user's system?
>
> My thinking: Union of capabilities - the range of values that it 
> doesn't make sense to go outside.
> You will have corner cases (max 320x200 camera, HD camera that can't 
> go below 640x480), but I can't think of anything that makes more sense 
> than "union".

If you're going to do this, you might as well let users query device 
capabilities directly without triggering a prompt. This approach still 
reveals fingerprinting information.

Gili

Received on Thursday, 15 May 2014 11:29:15 UTC