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
<rdar://problem/44606715>
This is expected behavior. For privacy reasons, enumerateDevices provides non default device information only if persistent access is granted at the moment.
Oh sorry, I misread the bug, will try to repro it!
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?