Closed bajie01 closed 2 years ago
I am having the same problem.
deviceId = "" Why do I keep getting spaces in id?
getUserMedia will return an empty label attribute value if the permission for accessing the mediadevice is not given. https://stackoverflow.com/questions/60297972/navigator-mediadevices-enumeratedevices-returns-empty-labels
In Firefox, it asks for permission, but in Chrome it doesn't, and a blank space is inserted immediately. Chrome's microphone and camera access are allowed in the MacBook settings.
As a temporary measure, I gave the video source: default value so that I could access my computer's webcam.
For Google Chrome version 102.0.5005.61, the React depenency OpenVidu-Browser and OpenVidu-React encounter the following error : getMediaError: [object OverconstrainedError] Publisher initialization failed. INPUT_VIDEO_DEVICE_NOT_FOUND: Video input device with deviceId '' not found