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

On Jun 3, 2014 10:15 PM, "Adam Bergkvist" <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?

> 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:49:39 UTC