Bug 189658
Summary: | Camera not present in navigator.mediaDevices.enumerateDevices after unplugging and plugging back in | ||
---|---|---|---|
Product: | WebKit | Reporter: | xpeng <xpeng1984> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | eric.carlson, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 11 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
xpeng
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/44606715>
youenn fablet
This is expected behavior.
For privacy reasons, enumerateDevices provides non default device information only if persistent access is granted at the moment.
youenn fablet
Oh sorry, I misread the bug, will try to repro it!
youenn fablet
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?