Running demos under iOS 11 and Safari

I upgraded our trial license to version 5.0.2542, then have tried to run some of the demos from my iOS 11 device (iPhone 8, if that matters). But I'm unable to get any of the demos to work on Safari 11 - Firewall Traversal Streaming or Embeded Player, for example. On Firewall Streaming, I click the "Connect" button and just get "Failed". Nothing is showing up in the manager, client, or server logs on the server, except for seeing messages from the DemoController regarding fetching shared pages ("DemoController - http-nio-8888-exec-8 request for shared link shared/examples/demo/streaming/embed_player/images/play.png for example).

I'm away from a Mac for a few days so am unable to connect the WebInspector to view the iOS console, etc. Are there any other steps I should be taking in order to get the demos to run on iOS 11 and Safari?
 

marcw

Member
Hello!
I have the same problem. I do not have an own WCS5 but I used your test server via https://wcs5-eu.flashphoner.com:8888/dashboard.xhtml. What I tried was to send a broadcast and receive it with your "Embed Player" on my iPhone Safari (iOS 11). It works with WSPlayer enabled (with a noticable delay) but if I only check the WebRTC box "None of the preferred MediaProviders available" is displayed. On another Windows computer with Chrome I could receive the WebRTC stream with the Embed Player.
Best
Marc

P.S.: I found informations that WebRTC works with iOS 11 often on iPads but not on iPhones. The solution often is to add a playsInline tag to the video tag:

<video playsInline></video>

I don't think that this is also the reason here but who knows... :);)
 
Last edited:

Max

Administrator
Staff member
Hello

We have checked and it works on our test.
1. WCS5, build 2545
Demo: https://wcs5-eu.flashphoner.com
2. Publish stream '9012' from Chrome 62 on Windows
Using Two Way Streaming Demo
https://wcs5-eu.flashphoner.com/demo2/two-way-streaming
3. Play stream '9012' in iOS Safari 11
iPhone 6, iOS 11.0.3, Safari
As you can see from screenshot, it works and playing well with WebRTC media provider.

webrtc-ios-safari-playback.png


Would you provide step by step instructions how to reproduce your issue.
You can also read article iOS Safari 11 WebRTC in our blog.
 

Max

Administrator
Staff member
I found informations that WebRTC works with iOS 11 often on iPads but not on iPhones.
No. According our tests it works well on iPhone.
The solution often is to add a playsInline tag to the video tag
Yes. We already use this in the Web SDK.
 
Top