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

Re: [mediacapture-main] MUST clear requirement for deviceId

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 02 Jun 2016 18:24:29 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-223378903-1464891868-sysbot+gh@w3.org>
The scenario that led to the persistent-but-origin-dependent device ID
 was the scenario where one configured an application to work with a 
certain camera. One would then want to have this piece of 
configuration persist after the camera was closed.

In Option-1, there is no way to remember the setting after closing the
 camera and closing the session (whatever a session is) without 
ceating a stored permission.. One has to restart the camera-picking 
procedure every time the session restarts. (Think kiosk mode devices.)

In Option-2, one still gets the permission prompt (no permission is 
stored), but the application is able to remember the camera between 
session.

(Another option that was valid under some versions of the permissions 
spec was to store an explicit "ask" permission to achieve the same 
effect. That's another way to skin the cat.)



-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/359#issuecomment-223378903
 using your GitHub account
Received on Thursday, 2 June 2016 18:24:30 UTC

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