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

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