[Webkit-unassigned] [Bug 209580] New: enumerateDevices returns different value by calling more than twice
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 25 19:44:38 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209580
Bug ID: 209580
Summary: enumerateDevices returns different value by calling
more than twice
Product: WebKit
Version: Safari 13
Hardware: Macintosh
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: y.sugiura.0316 at gmail.com
CC: youennf at gmail.com
`navigator.mediaDevices.enumerateDevices()` seems not to return same value for the first time calling and after another.
# How to reproduce
- open web page(no matter which page is) and DevTools(Console)
- call `await navigator.mediaDevices.enumerateDevices()`
- check the result has `audioinput` and `videoinput` devices
- call `await navigator.mediaDevices.enumerateDevices()` again
- expect the same result, but it returns `audioinput` and `audioinput`(no `videoinput`)
If you got permission by calling `getUserMedia()` first, it works as expected.
--
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/20200326/51ea6a7a/attachment.htm>
More information about the webkit-unassigned
mailing list