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

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

From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 9 Jan 2015 15:13:55 -0800
Message-ID: <CABkgnnV70fOj2gTe362=04PqCw-KBxG+PhEVBnPDqJK5Nm-aJg@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
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.
Received on Friday, 9 January 2015 23:14:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:03 UTC