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

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

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sat, 10 Jan 2015 00:36:46 +0100
Message-ID: <CALiegfkX8chFHS+RzV2AaTQ=_kZhdQg_kTXYzrVi2Hc1nSBEbg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2015-01-10 0:13 GMT+01:00 Martin Thomson <martin.thomson@gmail.com>:
> On 9 January 2015 at 14:33, Iñaki Baz Castillo <ibc@aliax.net> wrote:
>> This is a non practical design. What about all those JavaScript async
>> loaders (AMD, requireJS) etc? Those loaders execute code in callbacks
>> so gUM wouldn't work. What about if the JS app needs to wait until the
>> DOM is loaded before calling gUM? Writing the <script> tag that calls
>> gUM on the bottom of the <body> is just an old-fashion workaround.
>
>
> I don't understand the minutiae here, but I understand that certain
> asynchronous actions preserve the engagement gesture status.

Let's simplify: do you agree that gUM should be able to be called when
the page is loaded (without user interaction)?


-- 
Iñaki Baz Castillo
<ibc@aliax.net>
Received on Friday, 9 January 2015 23:37:33 UTC

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