-
Notifications
You must be signed in to change notification settings - Fork 345
Uncaught (in promise) DOMException: Could not start video source openUserMedia #19
Comments
Silly question but does your PC have a camera and microphone? Also, is this in IE or another browser? |
I have same issue my pc have camera and its working fine with Firefox. I am make sure only chrome using the webcam and every |
I have same experience. My camera shows on Opera browser but shows error on Chrome and other browsers with this error on chrome ("navigator.getUserMedia error: DOMException: Could not start video source") |
("navigator.getUserMedia error: DOMException: Could not start video source") these exception come only when your application don’t have webcam and mic permissions at system/os level. If you are facing this issue with MAC PC, then please go in System Preferences-> Security & privacy -> privacy window-> go to camera option then select your browser name and restart your browser. In case of windows, i dont know the exact steps but there should an option in settings to allow camera and mic permission for apps. Hope this helps. |
I did it by reinstalling the camera. |
i am facing same problem, while using navigator.mediaDevices.getUserMedia() on Chrome Version 110.0.5481.178 (Official Build) (64-bit) and Microsoft Edge Version 110.0.1587.63 (Official build) (64-bit). While it works fine under firefox 110.0.1 32-bit. |
the error brings me to this function:
(when clicking on "cameraBtn" Button)
const stream = await navigator.mediaDevices.getUserMedia(
{video: true, audio: true});
I tried on android browser and works fine, but in my pc doesnt work, any one knows why ???
The text was updated successfully, but these errors were encountered: