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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 Dec 2013 01:31:48 +0000
To: public-media-capture@w3.org
Message-ID: <bug-24015-5753@http.www.w3.org/Bugs/Public/>

            Bug ID: 24015
           Summary: Add callback to indicate when available media devices
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: juberti@google.com
                CC: public-media-capture@w3.org

Forked from https://www.w3.org/Bugs/Public/show_bug.cgi?id=23263. The idea here
is to have a callback that apps can register for to learn when a new device
becomes available (or is removed). The main use case here is for a Bluetooth
headset - if one shows up, the app may want to display a button indicating the
call can be transferred to the headset, and remove that button if the headset

Currently this would require the app poll the getMediaDevices API on a regular
basis, which is inefficient at best.

I suggest the name navigator.onmediadeviceschange for this API.

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Friday, 6 December 2013 01:31:50 UTC

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