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: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 28 May 2014 15:45:32 +0200
Message-ID: <5385E87C.1060406@alvestrand.no>
To: Martin Thomson <martin.thomson@gmail.com>, Adam Bergkvist <adam.bergkvist@ericsson.com>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 05/27/2014 08:12 PM, Martin Thomson wrote:
> 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.

Type "MediaDevices" and attribute "mediaDevices" sounds good to me.
>
>>> 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 Wednesday, 28 May 2014 13:46:06 UTC

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