nw.js: navigator.mediaDevices.enumerateDevices() doesn't work in properly
NWJS Version : 0.62.0 Operating System : Windows, Linux, macos
If you run navigator.mediaDevices.enumerateDevices() in <webview>…
Actual behavior
… you will get a weird list of devices without deviceIds and labels , but with groupIds . Example:
{deviceId: '', kind: 'audiooutput', label: '', groupId: '447f2ff6024675400b450bd42993f9cc0024514528a6f4b9873ffe6cefbc5c67'}
Expected behavior
If you run the same code inside window, you will get an adequate list of devices.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 16 (4 by maintainers)
Any updates?
Webview’s id? I’m trying to get my webcam work.