-
-
Notifications
You must be signed in to change notification settings - Fork 317
Description
When an ongoing call experiences a network change — for example, switching from Wi-Fi to mobile data — or when there’s any network instability, the call continues for a few seconds and then ends automatically.
The call status returns ended with the cause rtp timeout.
It seems related to ICE connection loss or renegotiation failure after the network switch.
The library exposes a renegotiate() method, but there’s no documentation or example showing how to use it properly to recover the call in this case.
To Reproduce
Steps to reproduce the behavior:
Start a call while connected to Wi-Fi.
Switch to mobile data (or simulate temporary network loss).
Wait a few seconds.
The call ends with status ended and cause rtp timeout.
Expected behavior
The call should automatically recover or renegotiate the RTC connection after a network change, instead of ending.
System Information()
Flutter SDK Version: 3.35.3 (channel stable)
Target OS and Version: [Android / iOS]
Library Version: 1.0.1
Dart Version: 3.9.2
DevTools Version: 2.48.0