kclyu / rpi-webrtc-streamer

This repo's objective is providing something like Web Cam server on the most popular Raspberry PI hardware. By integrating [WebRTC](https://webrtc.org/native-code/) and Raspberry PI, we can stream the Raspberry camera feed to browser or native client which talks WebRTC.
Other
626 stars 108 forks source link

Safari / WKWebView support #25

Closed TheJKM closed 6 years ago

TheJKM commented 6 years ago

Hi, is it possible to add support for Safari / WKWebView on iOS? Safari supports WebRTC since iOS 11 / macOS High Sierra, but this example (I tried /native-peerconnection) does not work. Support for Safari would be very nice, because there's no alternative on iOS and I'd like to use this piece of software because the low latency is very nice, especially for a Raspberry Pi. I saw the fixed issue for iOS 11, but my problem is different. I get a Type error on line 108 of main_rws.js, this happens only on Safari.

kclyu commented 6 years ago

I will make a plan to find a workaround to make it work on iOS/MacOS Chrome or Safari. But, I have spent a lot of time in other functions, so I do not have time to get into the cause of the problem yet, so I have been delaying the problem for a while.

Advice and support are welcome if you have advice or have some troubleshooting.

If there is any progress in troubleshooting, I'll post it here.

kclyu commented 6 years ago

I have committed the js/html files for this issue but it seems to work normally using the latest WebRTC native stack for normal operation. I will close the current issue after deb uploading.