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 :)
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
returnsPJ_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 :)