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

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