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: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 3 Jun 2014 10:23:55 -0700
Message-ID: <CABkgnnXdmVTM=QT96u8W3aU8CyFynRWdcDdHgNhh=mVtegLCnQ@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 3 June 2014 07:57, Harald Alvestrand <harald@alvestrand.no> wrote:
> Now, if an HTTP app wants to support the flow
>
> 1) Pick a camera
> 2) Take a photo
> 3) Repeat from 1) or end
>
> he has to open up a random device, enumerate labels, show the camera list,
> open up the camera, and hang on to his random device till the end.

I think that this case is one where the site can (and should) move to
HTTPS and persistent permissions.

I'll also note that this flow, as described, doesn't work for
snapshots.  I believe that persistent permissions are required to
access other cameras.  At least in Firefox, a one-off consent grant
doesn't allow the site to open other cameras.
Received on Tuesday, 3 June 2014 17:24:22 UTC

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