iosswiftwebrtclibjingle

iOS WebRTC Handle Packet Loss


I have a webRTC web app and an iOS WebRTC app. Both are using pubnub for signaling and this is working. I am using Xirsys for ICE. Everything works between the ios app and the web app until a packet is lost from web to ios. Once a packet is lost from the web video feed to the ios video feed the web video feed cuts out. But if a packet is lost from the ios app to the web app there is no problem.

On the iOS side I am using libjingle_peerconnection to handle the peer connections. Is there a way on the iOS side to just reduce the quality when packets are missing as opposed to just closing the feed.


Solution

  • the libjingle_peerconnection cocoapod is so old that it is no longer compatible with Chrome 56+. See here for more details including a workaround if you can't upgrade.