[Webkit-unassigned] [Bug 198148] mediaDevices.enumerateDevices() returns empty deviceId
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 26 13:49:03 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198148
--- Comment #4 from youenn fablet <youennf at gmail.com> ---
Can you try the following and verify this is working as expected?
let devices = await navigator.mediaDevices.enumerateDevices();
// device ids should be empty
alert(JSON.stringify(devices));
const stream = await navigator.mediaDevices.getUserMedia({video: true});
devices = await navigator.mediaDevices.enumerateDevices();
// device ids should not be empty
alert(JSON.stringify(devices));
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190526/e3a758a4/attachment.html>
More information about the webkit-unassigned
mailing list