You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that there is currently no clear way in the sip_ua package to handle scenarios where the internet connection is lost during an active call. Specifically, there seems to be no built-in mechanism to detect internet connectivity loss, attempt reconnection, and resume the call.
I attempted to use the renegotiate function as part of a custom reconnection logic. However, when this function is called after the internet is restored, it unexpectedly terminates the call on the other end instead of renegotiating the connection.
This behavior limits the usability of the library for handling real-world scenarios where network stability can fluctuate.
To Reproduce:
Steps to reproduce the behavior:
Start an active call using the sip_ua library.
Disconnect the internet during the call.
Attempt to detect the internet restoration and use the renegotiate function to reconnect.
Expected behavior:
The call should be renegotiated, and the connection should be restored when the internet returns without terminating the call for the other participant.
I would look at the socket implementations and see if you can do anything about this and handle onDisconnect. There is already logic in retrying to connect.
I have noticed that there is currently no clear way in the sip_ua package to handle scenarios where the internet connection is lost during an active call. Specifically, there seems to be no built-in mechanism to detect internet connectivity loss, attempt reconnection, and resume the call.
I attempted to use the renegotiate function as part of a custom reconnection logic. However, when this function is called after the internet is restored, it unexpectedly terminates the call on the other end instead of renegotiating the connection.
This behavior limits the usability of the library for handling real-world scenarios where network stability can fluctuate.
To Reproduce:
Steps to reproduce the behavior:
Expected behavior:
The call should be renegotiated, and the connection should be restored when the internet returns without terminating the call for the other participant.
Code Snippets:
Request:
Thank you for your support and this useful library!
System Infomation()
Flutter SDK Version: 3.24.4
The text was updated successfully, but these errors were encountered: