[whatwg] Do we really need to introduce a <device> element for giving access to webcams and mikes?
julien.cayzac at gmail.com
Mon May 3 19:40:40 PDT 2010
On Tue, May 4, 2010 at 11:37 AM, Julien Cayzac <julien.cayzac at 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/
More information about the whatwg