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

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