WebRTCSink issue with Apple Safari

GST Developer gstreamer at gallery.co.uk
Sat Sep 2 10:25:31 UTC 2023


Hi Folks.

I am investigating an issue with webrtcsink and Apple Safari

Using the guidelines detailed at :   https://gstreamer.freedesktop.org/documentation/rswebrtc/index.html?gi-language=c#usage

- My Ubuntu 22.04 LTS server is *wide open* - in Google Cloud Platform, zero firewalls or restrictions.
- I am launching the example GStreamer pipeline : 
- I am running the gstwebrtc-api example with npm/webpack
- I am launching the example GStreamer pipeline : 
gst-launch-1.0 webrtcsink name=ws meta="meta,name=testsource"  videotestsrc ! ws. audiotestsrc ! ws.

Expected Result:
- index.html at port 9090 should present WebRTC video stream on all WebRTC compatible browsers

Observed Result:
- Windows 10 - WebRTC stream works FINE in Chrome and Edge
- iOS 16.6 - WebRTC Stream Fails with all browsers (since all browsers in iOS must use underlying Safari engine)
- macOS 13.4.1 - WebRTC stream works FINE in Chrome, Firefox, Edge and Opera.  Stream Fails with Apple Safari.

Communications with the WebPack server is supplying the stream discovery , but the WebRTC connection fails at the point where the video element is put into play().  
I have made sure that this is not simply the browser security blocking autoplay. 

I wonder if anyone is able to replicate these tests, or provide any insight into the cause.

Many thanks !

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230902/3574ca1e/attachment.htm>


More information about the gstreamer-devel mailing list