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

On 05/18/2014 01:54 PM, Cullen Jennings wrote:
> On May 9, 2014, at 12:08 PM, Dominique Hazael-Massieux <dom@w3.org> wrote:
>
>> This could be moved to be a global event (i.e. on the window object);
>> but I wonder if instead we could say that the MediaDeviceInfoCallback
>> should be automatically invoked each time the list of media input and
>> output devices change (roughly the same way navigator.watchPosition
>> invokes its callback when the user position changes).
>>
>> Thoughts?
> I like that idea. 
>
>
>
At the moment we have events that fire multiple times, and callbacks
that are called exactly once.

I'd like to have a real good story for why it shouldn't be an event
fired at some object before introducing a third pattern in this API.

-- 
Surveillance is pervasive. Go Dark.

Received on Sunday, 18 May 2014 18:46:47 UTC