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

Would the following be a reasonable compromise for various devices and
 scenarios?

A. If stored permission to access local devices has been granted to 
this origin, then this identifier MUST be persisted across browsing 
sessions.
B. If any local devices have been attached to a live MediaStreamTrack 
in a page from this origin, then this identifier MAY be persisted 
across browsing sessions.

I think we all agree on A.  Re B, browser vendors can introduce 
browser-specific settings so users can turn it on/off for their 
devices and scenarios.  So, we don't have to define dependencies on 
cookies, histories, or another permission, etc. in this version of the
 spec.

-- 
GitHub Notification of comment by ShijunS
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/359#issuecomment-223390997
 using your GitHub account

Received on Thursday, 2 June 2016 19:07:09 UTC