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

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