There was a very strange bug in our application related to react-native-incall-manager and @livekit/react-native-webrtc. It appeared only after we migrated from react-native-webrtc to @livekit/react-native-webrtc
On iOS, first webrtc connection has no issues whatsoever, but every consequent connection has no sound for remote audio stream and doesn't send bytes for local audio stream.
We couldn't figure out exact reason, however restarting in-call manager after every call has helped to mitigate the issue
useEffect(() => {
InCallManager.stop()
InCallManager.start({ media: "video" })
}, [])
Versions of our dependencies:
"react-native-incall-manager": "^4.2.1",
"@livekit/react-native": "^2.7.4",
"@livekit/react-native-webrtc": "^125.0.9",
"livekit-client": "^2.13.3",
There was a very strange bug in our application related to react-native-incall-manager and @livekit/react-native-webrtc. It appeared only after we migrated from react-native-webrtc to @livekit/react-native-webrtc
On iOS, first webrtc connection has no issues whatsoever, but every consequent connection has no sound for remote audio stream and doesn't send bytes for local audio stream.
We couldn't figure out exact reason, however restarting in-call manager after every call has helped to mitigate the issue
Versions of our dependencies: