Hi,
We have been using WebRTC for our live streaming solutions. We were using Windows and MacOS devices so far. We also have a requirement to support iOS devices.
When I am trying to play a WebRTC stream in iPad air 4th gen (iOS 14.5.1) on Safari browser. I am facing issues. In WebRTC playback, the initial WebSocket connection is failing to the Wowza server. I am using the Wowza WebRTC playback page - https://www.wowza.com/developer/webrtc/dev-view-play to play the stream and I see the following logs:
[Log] WowzaPeerConnectionPlay.start: sdpURL:wss://************/webrtc-session.json streamInfo:{"applicationName":"live","streamName":"371.stream","sessionId":"[empty]"} (WowzaPeerConnectionPlay.js, line 245)
[Log] WowzaPeerConnectionPlaywsConnect: wss://***********/webrtc-session.json (WowzaPeerConnectionPlay.js, line 108)
[Error] WebSocket network error: The operation couldn’t be completed. (OSStatus error -9807.)
[Log] WowzaWebRTCPlay ERROR: (WowzaWebRTCPlay.js, line 140)
[Log] Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …} (WowzaWebRTCPlay.js, line 141)
[Log] typeof error.target: object (WowzaWebRTCPlay.js, line 146)
**[Error] WebSocket network error: The operation couldn’t be completed. (OSStatus error -9807.)**
[Log] wsConnection.onclose (WowzaPeerConnectionPlay.js, line 231)
I do remember testing WebRTC on iPad back in 2020, at that time I was able to play WebRTC videos. The device that I used at that time was iPad Air 3rd generation, iOS 13.5.1.
has anything been changed in WebRTC workflow in Wowza wrt to iOS devices? is there any specific configuration needed to support WebRTC playback in newer iOS versions?
Wowza Streaming Engine version => 4.8.5
Java - 11.0.2