[mediacapture-main] enumerateDevices() should print correct MediaDeviceInfo (#693)

guest271314 has just created a new issue for https://github.com/w3c/mediacapture-main:

== enumerateDevices() should print correct MediaDeviceInfo ==
When `getUserMedia({audio:true})` is executed at Chromium it is possible to change the device at native audio control application during recording from "device" to "Monitor of device". That setting remains for any subsequent calls to `getUserMedia()`, which is the expected result for the workaround no support for "Monitor of device" at UI prompt at Chromium. However, the device label does not reflect the captured device when `enumerateDevices()` is executed after permission is granted. The device being captured is "Monitor of device" set manually, not "device" at that point. `enumerateDevices()` should be dynamic, and always print the correct device, not the name or label of the device that might have been initially selected at prompt, even if the implementation does not directly support capturing that named device. 

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/693 using your GitHub account

Received on Monday, 4 May 2020 07:30:53 UTC