Camera access in browser

Hi @AlexeyZ,

I did some further investigation on my side. So I used your docker-compose but with a USB camera instead. With a USB camera the browser was able to just detect and use it with no other changes.

This leads me to think there are 2 possible issues here. Either there is a permission issue with the browser accessing the MIPI CSI device or there is an issue with the output format of the OV5640 not being supported by the browser.

You can test for the first case by running your containers with full privileges with the privileged flag. If this still doesn’t work then it’s more likely the 2nd issue of incompatible format. In which case you may need to configure the camera to output a format that is compatible or if there is no compatible format then add a way to convert to a compatible format.

Best Regards,
Jeremias