dart-sip-ua
dart-sip-ua copied to clipboard
Operation is unstable when disconnecting and reconnecting Wi-Fi during a call, or when disconnecting Wi-Fi and connecting to mobile (4G/5G)
Describe the bug I am using dart-sip-ua to make calls via Asterisk. Because the behavior of the mobile device is unstable when changing networks, I am reporting this.
background: The device is connected to Asterisk using a client-server method, not a P2P connection. I am using ICE to send the results to Asterisk to make WebRTC calls.
To Reproduce Steps to reproduce the behavior: The behavior is unstable on both iOS and Android, but it is particularly noticeable on Android, so I will give an example of an Android device.
- Start a call between two devices (device <-> Asterisk <-> device)
- Disconnect the Android device's Wi-Fi (It is assumed that there is no 4G connection) 2-1. The call is disconnected at this point
- Reconnect the Android device's Wi-Fi. Of course, the call has already ended, so it cannot be resumed.
Expected behavior If you are making a SIP call, the call should resume when you reconnect to Wi-Fi (confirmed with Zoiper SIP Client)
System Infomation() Flutter SDK Version: 3.22.2 Target OS and Version: Android 10,11,12 sip-ua-dart version: 0.6.0