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

Re: [Bug 25245] Specify "access" in the context of getMediaDevices

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Thu, 10 Apr 2014 22:15:18 -0400
Message-ID: <53475036.9050608@mozilla.com>
To: Harald Alvestrand <harald@alvestrand.no>, public-media-capture@w3.org
On 4/10/14 9:32 AM, Harald Alvestrand wrote:
> The use cases for exposing the number and ID of devices I remember are:
> - When no devices of a class are available, the app can choose not to 
> display relevant UI components at all (don't put up a self-view if you 
> have no camera).
> - When one device is available, device-choice functions in the UI can 
> be hidden.
> - When multiple devices are available, exposing the ID enables the app 
> to distinguish clearly between the "I have seen this device before" 
> use case and the "All devices are new to me" use case.

I don't think you need this to store devices you've seen before.

But on the others, it seems to me this would work really well in 
unconstrained cases, not so well in constrained ones.

It does NOT solve:
- don't put up a self-view if you don't meet minimum camera requirements.
- hide device-choice functions in the UI if only one camera meets 

.: Jan-Ivar :.
Received on Friday, 11 April 2014 02:15:45 UTC

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