iOS only crashes after remote user changes camera and republishes

I am having an issue with ios clients.

Calls setup and work fine for the most part but when any user connecting to an iphone client changes their camera by unpublishing and republishing their feed the ios device loses audio and video.

This is happening 100% of the time but only for ios clients such as safari for mac or chrome for windows and mac.

Upon inspection of the ios console, I can see the following errors which repeat over and over again. Can anyone shed any light on this and perhaps a fix?

[Error] ERROR:Request has timed out in Request: method:onIceCandidate params:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 55619 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1} request:{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 55619 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1},“id”:4}
(anonymous function) (openvidu-browser-2.11.0.js:6913)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] Error sending ICE candidate: {“request”:"{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 55619 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1},“id”:4}",“requestTime”:1602769598297}
(anonymous function) (openvidu-browser-2.11.0.js:3063)
(anonymous function) (openvidu-browser-2.11.0.js:6927)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] ERROR:Request has timed out in Request: method:onIceCandidate params:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 61789 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“0”,“sdpMLineIndex”:0} request:{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 61789 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“0”,“sdpMLineIndex”:0},“id”:5}
(anonymous function) (openvidu-browser-2.11.0.js:6913)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] Error sending ICE candidate: {“request”:"{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 61789 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“0”,“sdpMLineIndex”:0},“id”:5}",“requestTime”:1602769598297}
(anonymous function) (openvidu-browser-2.11.0.js:3063)
(anonymous function) (openvidu-browser-2.11.0.js:6927)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] ERROR:Request has timed out in Request: method:onIceCandidate params:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 52222 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1} request:{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 52222 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1},“id”:6}
(anonymous function) (openvidu-browser-2.11.0.js:6913)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] Error sending ICE candidate: {“request”:"{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:4144313415 1 udp 2113937151 fb9cba7d-6362-4004-9dc9-f5cb9ae53cb6.local 52222 typ host generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1},“id”:6}",“requestTime”:1602769598298}
(anonymous function) (openvidu-browser-2.11.0.js:3063)
(anonymous function) (openvidu-browser-2.11.0.js:6927)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)
[Error] ERROR:Request has timed out in Request: method:onIceCandidate params:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:842163049 1 udp 1677729535 84.92.84.120 52222 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1} request:{“jsonrpc”:“2.0”,“method”:“onIceCandidate”,“params”:{“endpointName”:“pqo67paoljkr3mw0”,“candidate”:“candidate:842163049 1 udp 1677729535 84.92.84.120 52222 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ibQj network-cost 999”,“sdpMid”:“1”,“sdpMLineIndex”:1},“id”:7}
(anonymous function) (openvidu-browser-2.11.0.js:6913)
dispatchCallback (openvidu-browser-2.11.0.js:7534)
timeout (openvidu-browser-2.11.0.js:7568)

You’re using 2.11.0 version. Please update all your stack to last version and check it again .

Regards