W3C home > Mailing lists > Public > public-media-capture@w3.org > December 2013

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

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Wed, 18 Dec 2013 10:59:02 +0000
To: Sam Dutton <dutton@google.com>, "bugzilla@jessica.w3.org" <bugzilla@jessica.w3.org>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1C42B9A8@ESESSMB209.ericsson.se>
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

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