dart-sip-ua icon indicating copy to clipboard operation
dart-sip-ua copied to clipboard

"Call initialize before setting the stream"

Open Vinayak006 opened this issue 1 year ago • 5 comments

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:

  1. 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

Vinayak006 avatar Dec 11 '23 10:12 Vinayak006

getting same error. any solution?

abdulrahumanea avatar Feb 18 '24 12:02 abdulrahumanea

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.

emosto avatar Mar 22 '24 08:03 emosto