Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: don't forget to check if connection fails. #5

Open
hlung opened this issue Aug 6, 2013 · 2 comments
Open

Enhancement: don't forget to check if connection fails. #5

hlung opened this issue Aug 6, 2013 · 2 comments

Comments

@hlung
Copy link
Collaborator

hlung commented Aug 6, 2013

Not really an issue. It's just a point to aware. Any connect (GSAccount -connect) sent right after disconnect ([[GSUserAgent sharedAgent] reset]) will fail (pjsua_acc_set_registration returns PJ_FALSE) because pjsip blocks the app for about 1 second after disconnect to wait for its server requests to complete.

If you already check if connect fails then it's fine. Maybe there should be a timer to delay after disconnection to prevent this :)

@chakrit
Copy link
Owner

chakrit commented Jul 12, 2014

Ah, there're a whole host of issues regarding that + worker threads :/ Ugh.

@chakrit
Copy link
Owner

chakrit commented Jul 12, 2014

reference: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants