W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2015

Re: Can getUserMedia() get called on a callback/event ?

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Fri, 09 Jan 2015 18:11:24 +0100
Message-ID: <54B00BBC.8010904@w3.org>
To: Martin Thomson <martin.thomson@gmail.com>, Iñaki Baz Castillo <ibc@aliax.net>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 09/01/2015 18:02, Martin Thomson wrote:
> On 9 January 2015 at 08:19, Iñaki Baz Castillo <ibc@aliax.net> wrote:
>> So my question again: is this how gUM is supposed to work? or a
>> fanciful design in Chrome browser?
> >
> This is a general web interaction design principle.  If the call to a
> dialog-, consent- or popup-inducing function is not as a result of a
> user action (I think that Dom had a good reference for this in one of
> the documents),

Back in August, I suggested this might be something we want to require 
for security reasons:
https://lists.w3.org/Archives/Public/public-media-capture/2014Aug/0187.html

That being said, I don't know if this matches what Iñaki is referring to 
— what he describes is about gUM involved from callbacks, not gUM 
invoked outside of engagement gestures.

Dom
Received on Friday, 9 January 2015 17:11:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:42 UTC