Why do I get a "DOMException" error and can't access the camera when using http://?

You must access your website / web application served from a secure origin (HTTPS or local IP) in order to access video camera video streaming due to browser restrictions. For development purposes you can set up a self-signed certificate, proxy, or just quickly set up a service like ngrok to instantly get a secure URL to your localhost server.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request