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

Re: Permission and the Device enumeration labels (Re: [Bug 22214] How long do permissions persist?)

From: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 04 Jun 2014 18:57:32 +0200
Message-ID: <538F4FFC.40708@alvestrand.no>
To: public-media-capture@w3.org
On 06/04/2014 06:49 PM, Martin Thomson wrote:
> On Jun 3, 2014 10:15 PM, "Adam Bergkvist" <adam.bergkvist@ericsson.com 
> <mailto:adam.bergkvist@ericsson.com>> wrote:
> > I believe Harald's intention is to hold on to a camera to keep the 
> permission to enumerate the labels of other cameras; not have "no 
> prompt access" to them. If the user decides to use an other camera 
> from the *in app* camera list, a gUM() with prompt is needed (using 
> the deviceId constraint).
> Since the label to id mapping is stable, what is wrong with just 
> remembering it?

Getting the label of the camera you just plugged in.

> > So if I give Firefox a persistent permission to use a specific 
> camera, can it flip to any other camera connected to my machine at any 
> time? I wouldn't expect that.
> You get just the one stream. The source(s) of that stream can't change.
Received on Wednesday, 4 June 2014 16:58:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:48 UTC