dart-sip-ua
dart-sip-ua copied to clipboard
"Call initialize before setting the stream"
Describe the bug When I make a call, I get the error "Call initialize before setting the stream". I am using the asterisk test server.
To Reproduce Steps to reproduce the behaviour:
- Make a call
Expected behaviour A call must be created and a connection must be established.
System Infomation() Flutter SDK Version: 3.16.3 sip_ua Version: 0.5.8
getting same error. any solution?
I can confirm this behavior. It happens often, but not always. It seems to be usually appearing the first time the app is started after other apps are being used, or the first time user agrees with the permissions. Smells to me like a race condition, but I'm not expert in the code.
Will be more than glad to help debug the issue and fix it, because it is definitely a show stopper for the project I am working.