W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

[mediacapture-main] MediaDeviceInfo reuse in successive calls of enumerateDevices is not clear (#620)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Sep 2019 08:18:29 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-490193664-1567757908-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== MediaDeviceInfo reuse in successive calls of enumerateDevices is not clear ==
As shown by https://jsfiddle.net/63Lorgkq/, browsers currently always return new MediaDeviceInfo objects for every enumerateDevices calls.
This goes against step 3 of https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices.

Updating the fiddle to do capture between enumerateDevices calls give the same results (https://jsfiddle.net/x2Lnmcyw/).

In addition, step 8.2 of https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices is not clear about what it means to copy resultList in filteredList.
In particular whether new MediaDeviceInfo are supposed to be created or not.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/620 using your GitHub account
Received on Friday, 6 September 2019 08:18:31 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:48 UTC