SmallpTsai / rpi-webrtc-streaming-to-ios

Streaming H264 from RPI to iOS devices via WebRTC
GNU General Public License v3.0
15 stars 2 forks source link

not working on iOS #1

Open realjanek opened 3 years ago

realjanek commented 3 years ago

works only on Windows Chrome

root@raspberrypi:~# service uv4l_raspicam status ● uv4l_raspicam.service - UV4L Raspicam Loaded: loaded (/etc/systemd/system/uv4l_raspicam.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-07-05 15:00:08 AEST; 1h 25min ago Main PID: 306 (uv4l) Tasks: 13 (limit: 721) CGroup: /system.slice/uv4l_raspicam.service └─306 /usr/bin/uv4l -f -k --sched-fifo --mem-lock --config-file=/etc/uv4l/uv4l-raspicam.conf --driver raspicam --driver-config-file=/etc/uv4l

Jul 05 15:00:10 raspberrypi uv4l[306]: [server] HTTP/HTTPS Streaming & WebRTC Signalling Server v1.1.129 built on Feb 22 2021 Jul 05 15:00:10 raspberrypi uv4l[306]: [server] SSL is enabled for the Streaming Server. Using secure HTTPS. Jul 05 15:00:10 raspberrypi uv4l[306]: [server] SSL is enabled for the WWW Server. Using secure HTTPS. Jul 05 15:00:10 raspberrypi uv4l[306]: [core] Streaming Server loaded! Jul 05 15:00:10 raspberrypi uv4l[306]: [core] Registering device node /dev/video0 Jul 05 15:00:10 raspberrypi uv4l[306]: [server] Web Streaming Server listening on port 8085 Jul 05 15:00:10 raspberrypi uv4l[306]: [server] HTTP/HTTPS Server for custom web pages listening on port 9000 Jul 05 15:11:46 raspberrypi uv4l[306]: [webrtc] WebRTC Renderer extension successfully loaded Jul 05 15:11:46 raspberrypi uv4l[306]: [server] WebRTC, Signalling Server and STUN Server extensions successfully loaded Jul 05 15:11:49 raspberrypi uv4l[306]: [webrtc] Enabling WebRTC Audio Recording Device 'mems-mic, bcm2835-i2s-ics43432-hifi ics43432-hifi-0-Def lines 1-18/18 (END)

Windows works on Chrome

doesn't work on Firefox, giving an error: Can't parse received candidate message: Expect line: candidate:

on iPhone and iPad (all browsers) An error has occured on the websocket (make sure the address is correct)!

on Macbook Can't parse received candidate message: Expect line: candidate: received message {"what":"message","data":"Can't parse received candidate message: Expect line: candidate:"} signalling.js:119:21

realjanek commented 3 years ago

I am using RPi 3A+