Hi,
We’re building a video call module in a React Native app. To do so, we use react-native-webrtc and it works well, we manage to set up calls between peers and that’s great. However, on iOS, we’re currently facing an issue when we want to handle network type changes (for instance from wifi to cellular data) on the callee side.
In that case the remote stream video get muted (I can see the “Mute” event emitted by the native WebRTCModule) but I was expecting an “iceConnectionStateChange” to be emitted too but that’s not the case. And if I log the rtcPeerConnection.iceConnectionState property, it never changes and keeps the connected
value.
Is that expected? And in that case, how can I handle a network condition change?