NEW 189658
Camera not present in navigator.mediaDevices.enumerateDevices after unplugging and plugging back in
https://bugs.webkit.org/show_bug.cgi?id=189658
Summary Camera not present in navigator.mediaDevices.enumerateDevices after unpluggin...
xpeng
Reported 2018-09-16 20:24:34 PDT
Steps: 1. Plugin a camera device A in Macbook 2. A can be enumerated with navigator.mediaDevices.enumerateDevices in Safari 3. plugout the device A and then plugin device A Result: A can not be enumerated with navigator.mediaDevices.enumerateDevices in Safari
Attachments
Radar WebKit Bug Importer
Comment 1 2018-09-19 10:12:21 PDT
youenn fablet
Comment 2 2018-09-19 10:51:21 PDT
This is expected behavior. For privacy reasons, enumerateDevices provides non default device information only if persistent access is granted at the moment.
youenn fablet
Comment 3 2018-09-19 10:51:46 PDT
Oh sorry, I misread the bug, will try to repro it!
youenn fablet
Comment 4 2018-09-19 10:55:19 PDT
I tried reproing the issue on Safari Tech Preview 65 and was not able to do so. Can you provide additional information on your setup and maybe a test case showing the issue?
Note You need to log in before you can comment on or make changes to this bug.