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

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