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

2015-04-06 22:12 GMT+02:00 Martin Thomson <martin.thomson@gmail.com>:
> As I understand "engagement gestures", a popup would be blocked.  But
> it's only the "popup" (i.e., the gUM prompt) that would be blocked in
> this example.  With a persistent permission, that prompt doesn't get
> triggered, so the site should be able to get media immediately.

Really, still I don't understand how the apprtc demo of Google works
given that it automatically prompts the user for getUserMedia without
the need for the user to click in any button. Where is the trick? Does
it work if the JS lib calls gUM even before the DOM is load? but it
would fail if it waits for DOM "load" event, right? This is a no sense
IMHO.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Wednesday, 8 April 2015 11:18:26 UTC