- From: Mandyam, Giridhar <mandyam@quicinc.com>
- Date: Wed, 30 Oct 2013 00:14:03 +0000
- To: Martin Thomson <martin.thomson@gmail.com>
- CC: Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Referring back to Example 2 (http://www.w3.org/TR/mediacapture-streams/#examples), in existing implementations the permissions UI is presented as soon as the gUM call is made. If I'm to understand you correctly, the permissions call would instead only be presented when when applyConstraints() is invoked on the VideoStreamTrack to change "noaccess". So the user opens up the webpage and gets to see a camera preview image initially. But the application is blocked from invoking canvas.getContext('2d').drawImage() or canvas.getContext('2d').getImageData() at this point because the "noaccess" constraint has not been changed. What other operations need to be blocked until the 'noaccess' constraint is modified? -----Original Message----- From: Martin Thomson [mailto:martin.thomson@gmail.com] Sent: Tuesday, October 29, 2013 4:53 PM To: Mandyam, Giridhar Cc: Harald Alvestrand; public-media-capture@w3.org Subject: Re: Proposed new text for noaccess On 29 October 2013 16:48, Mandyam, Giridhar <mandyam@quicinc.com> wrote: > Problem: As far as I can tell, no permissions UI was ever presented to the user in the above scenario, because the "noaccess" constraint was never changed. Is this the desired behavior? This would be expressly prohibited. Any pixel on the screen that is altered by the "noaccess" stream cannot be captured by the application. The intent is that anything constrained as "noaccess" is inaccessible to applications.
Received on Wednesday, 30 October 2013 00:14:33 UTC