W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > September 2016

[mediacapture-main] Allow ondevicechange to be fired before permission is granted or any device is opened

From: ShijunS via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Sep 2016 05:35:05 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-179683835-1475040904-sysbot+gh@w3.org>
ShijunS has just created a new issue for 
https://github.com/w3c/mediacapture-main:

== Allow ondevicechange to be fired before permission is granted or 
any device is opened ==
As part of the MediaDevices interface, the ondevicechange event is to 
inform the app to enumerate capture devices.  Given device enumeration
 is independent from whether there is a device in use or not by the 
current UA, firing the event should not be restricted either.  

As one use case, assuming we have a desktop machine without any 
capture device to start with, app can decide not to call gUM and hide 
the related features.  Once a device is plugged in, app can respond to
 the ondevicechange event to expose related features, such as a 
profile photo button, or a voice recording button, etc.  The Edge 
implementation today supports the use case.  The spec allowed it as 
well prior to the 20160423 version.

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/402 using your GitHub 
account
Received on Wednesday, 28 September 2016 05:35:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC