I have a resin.io project and I'm trying to get WebRTC streaming to work.
I used instructions from here to modify my Dockerfile.
What I'm doing:
Install UV4L software:
RUN apt-get update && apt-get install -y \ uv4l \ uv4l-raspicam \ uv4l-raspicam-extras \ uv4l-webrtc \ uv4l-server \ uv4l-xscreen \ uv4l-mjpegstream \ uv4l-dummy \ uv4l-uvc \ uv4l-raspidisp \ uv4l-xmpp-bridge \ && rm -rf /var/lib/apt/lists/*
Run it with:
systemctl start uv4l_raspicam
When I go to
http://192.168.0.103/stream I see the mjpeg stream and it's working fine.
The next thing I try to do is to go to
http://192.168.0.103/stream/webrtc and see a WebRTC stream.
When I load the page I see no video, just this page:
When I press
Call nothing happens and the server dies - I can no longer see any streams and the web page doesn't load.
This is the output of
uv4l command with parameters:
<notice> [core] Trying driver 'raspicam' from built-in drivers... <warning> [core] Driver 'raspicam' not found <notice> [core] Trying driver 'raspicam' from external plug-in's... <notice> [driver] Dual Raspicam Video4Linux2 Driver v1.9.48 built Mar 19 2017 <notice> [driver] Detected camera imx219, 3280x2464 <notice> [driver] Selected format: 640x480, encoding: h264, H264 Video Compression <notice> [driver] Framerate max. 20 fps <notice> [driver] ROI: 0, 0, 1, 1 <notice> [driver] H264 costant bitrate: 8000000 <notice> [core] Device detected! <notice> [core] Registering device node /dev/video0
How do I debug this? Does
uv4l have any error logs? If so, what is the location of them?