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

On 8 April 2015 at 04:17, Iñaki Baz Castillo <ibc@aliax.net> wrote:
> 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.


It works because the gUM prompt is not conditional on an engagement gesture.

Received on Wednesday, 8 April 2015 16:34:34 UTC