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

I agree, this would be much cleaner.

From: Sam Dutton [mailto:dutton@google.com]
Sent: den 18 december 2013 10:01
To: bugzilla@jessica.w3.org
Cc: public-media-capture@w3.org
Subject: Re: [Bug 24015] Add callback to indicate when available media devices change

Agree: an event would be more efficient and cleaner to code than polling.

On 17 December 2013 22:07, <bugzilla@jessica.w3.org<mailto:bugzilla@jessica.w3.org>> wrote:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24015

--- Comment #2 from Justin Uberti <juberti@google.com<mailto:juberti@google.com>> ---
Agreed, but after actually working with the API I think that polling is clumsy;
to get the behavior described below, you would have to poll the API about every
second for the entire lifetime of the call.

--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Wednesday, 18 December 2013 10:59:40 UTC