W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2014

Re: [Bug 24015] Add callback to indicate when available media devices change

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 27 May 2014 11:12:49 -0700
Message-ID: <CABkgnnW4cCFGJ3M5NJ5V=Lyne2bbihtMPfpW2_nSuX9h=Vr9Rw@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 26 May 2014 07:20, Adam Bergkvist <adam.bergkvist@ericsson.com> wrote:
> Why not mediaDevices then? It would not have "media" on it's own, but it
> limits the general "devices" a bit to only deal with devices related to
> media.

"mediaDevices" is what I proposed.

>> Since current deviceInfo call is async, I think I'd like to keep it
>> async. Not strongly, but do feel it.

I think that Harald is right here.

The browser might not bother to install the necessary hooks to monitor
device changes unless someone actually installs an event handler.
That could save some significant effort.  If the enumeration function
is synchronous, that removes that option.
Received on Tuesday, 27 May 2014 18:13:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:27 UTC