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

On 05/12/2014 05:55 PM, cowwoc wrote:
> On 12/05/2014 8:54 AM, Harald Alvestrand wrote:
>> In the current version of the spec, we have:
>>
>> The getCapabilities() method returns the dictionary of the 
>> capabilities that the object supports.
>>
>> This means that one must get an object before one can get 
>> capabilities of it. This is inconvenient for some usages (deciding 
>> what to pass to getUserMedia is the obvious one).
>>
>> Should this method also be available as a static method?
>>
>> Harald
>
> -1: I'm in favor of leaving this as an instance-only method.
>
> Gili
>
Why?

What do you suggest as an alternate method for detecting availability of 
capabilities before the first call to getUserMedia?

Received on Monday, 12 May 2014 17:48:31 UTC