W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2014

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

From: Cullen Jennings (fluffy) <fluffy@cisco.com>
Date: Sun, 18 May 2014 11:47:46 +0000
To: Harald Tveit Alvestrand <harald@alvestrand.no>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <390E8240-8ED4-438E-B539-3199ED9CCD45@cisco.com>

The permission model still seems pretty undefined for GUM and I think that is part of what makes it a bit hard to evaluate options for what we could do with a call to find out the properties of the system as a whole. 

I like the idea of adding something - the use case given before was even just knowing if the system can do video at all or not, causes you to change the UI in some applications long before any request for a media device is made. 


On May 12, 2014, at 8:54 AM, Harald Alvestrand <harald@alvestrand.no> 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
> 
> 
> 
Received on Sunday, 18 May 2014 11:48:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:27 UTC