Open modulitos opened 8 years ago
We're experiencing similar problem... @LukeSwart any solution so far?
can you find /dev/video0 in raspberry? if not , have a try to modify the file in floder /etc/modules , Add a line: bcm2835-v4l2, and reboot it , see if it works.
Note that this issue may not be caused by this tutorial explicitely, but instead it may be a general issue when accessing the Pi's webcam via a WebRTC session on the Pi's browser. It is confusing, however, becuase my IceWeasel install supports WebRTC, which I confirmed here: http://iswebrtcready.appear.in/ I also have a Stack Exchange post here.
I am trying to use my Raspberry Pi 2 and Raspberry Pi Camera to join a WebRTC session in the browser. I was able to set up a WebRTC server on my Pi through this tutorial and I am able to start/join a WebRTC session on any PC with video/audio enabled.
Also, I installed UV4L, which enables the browser to recognize the Pi camera.
When I try to access a WebRTC session on the Pi, however, the browser is unable to start the video. More specifically, the Javascript Navigator object fails on the
navigator.mozGetUserMedia()
to start the video, returning the error "Starting video failed". ThemozGetUserMedia
is bound in this line of code and the method is called here.I am using the IceWeasel browser because the Chromium and Epiphany browsers do not seem to support WebRTC on the Pi. Can anyone provide guidance on getting my Pi Camera detected by WebRTC? Or is there another browser that will properly run my Raspberry Pi Camera?
My browser's console output is here:
Similarly, when I try to join a Firefox Hello chat in my Pi's browser, I get these debug console messages:
Here are some details on my setup:
And my camera is working fine, where I can run
raspivid -t 10000
which displays the camera's video for 10 seconds.