On Tue, May 4, 2010 at 11:37 AM, Julien Cayzac <julien.cay...@gmail.com> wrote: > I am not sure if I get your point here: are you saying that using the > webcam locally in a canvas and somehow transmitting the webcam video > over the network are two independent permissions to grant? If so, how > would you detect the latter, since by allowing the page to manipulate > the video in <canvas> you would give it permission to use toDataURL() > too, so it could still transmit frames to the server or to other party > if a ConnectionPeer is involved?
To answer my own question: by raising the origin-clean flags of the <canvas> element the webcam was "attached" to. Now, I see no reference to any interaction between <device> and <canvas> mentionned in http://dev.w3.org/html5/html-device/ Julien. -- Julien Cayzac http://julien.cayzac.name/ skype://jcayzac?chat