I'm trying to stream video with the Pi Zero and Pi Camera. I'm on the default Chromium browser that comes with the latest Raspbian Jessie (Pixel). I'm attempting to initiate a Google Hangouts video call from Chromium. I have allowed Google Hangouts to access the camera/mic in Chromium.
However, I see "no camera available" and "no microphone available" in Chromium when I try a Google Hangouts video. I'm sure that the Pi camera is properly connected to the Pi, as I can capture videos/images from the terminal. How can I make Chromium recognize the camera device?
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 13801
- Joined: Wed Dec 04, 2013 11:27 am
- Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.
Re: Chromium not recognizing Pi camera?
Have you loaded the v4l2 driver?
Code: Select all
sudo modprobe bcm2835-v4l2
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
Re: Chromium not recognizing Pi camera?
I had not! That did the trick, now the camera is recognized6by9 wrote:Have you loaded the v4l2 driver?Code: Select all
sudo modprobe bcm2835-v4l2

When I create the video call from the Pi, it does start successfully now, but just shows a 'loading icon' and never successfully sends any video from the Pi Camera. Here is what it looks like in the web Skype client: http://imgur.com/a/Ty4wI
To be clear, I am only trying to send video from the Pi over the call, not receive it.
Any ideas what is wrong?
Re: Chromium not recognizing Pi camera?
That worked for me, but the video quality wasn't nearly as good as with the terminal.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 13801
- Joined: Wed Dec 04, 2013 11:27 am
- Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.
Re: Chromium not recognizing Pi camera?
There was a bug in Chromium that meant it requested 0x0 as the desired resolution, which the driver will increase to 32x32 as that is the minimum supported resolution. You could confirm that with "v4l2-ctl -V" after having run Chromium.
You used to be able to work around that one using the same workaround as worked for gstreamer (don't report the supported resolutions), but upstream saw fit to remove that as gstreamer got fixed.
You used to be able to work around that one using the same workaround as worked for gstreamer (don't report the supported resolutions), but upstream saw fit to remove that as gstreamer got fixed.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
-
- Posts: 3
- Joined: Sun Feb 23, 2020 2:21 pm
Re: Chromium not recognizing Pi camera?
chrome://setings/content -> Site settings -> Microphone / Camera