Sorry for blowing up the email list here.
It appears I was having some hardware issues. After struggling to resolve some other issues on my machine, things seem to be working correctly now. However, this raises an interesting concern around how PJSIP handles this particular failure case. It seems that in the event coreaudio_dev.c can't start the core audio stream, it hangs indefinitely. This ultimately results in PJSIP deadlocking (and, thus, the resulting application crashes).
I'll see if there's anything I can figure out in the source to put a patch together, but I'm very new to all of this.
Best,
Colin
On Fri, Apr 22, 2016 at 9:43 PM Colin Morelli <colin.morelli@xxxxxxxxx> wrote:
Also, if it's helpful (and relevant), this is the content of my handler method:I've done the equivalent in PJSUA too (not using PJSUA2) and get the same results. The code in that paste is executed on the same thread as the code that initializes the PJSUA2 endpoint.I'm running out of ideas.Best,ColinOn Fri, Apr 22, 2016 at 7:43 PM Colin Morelli <colin.morelli@xxxxxxxxx> wrote:Hey all,Possibly I'm missing something stupid here (probably), but I'm getting a deadlock with PJSIP 2.4.5 in the iPhone Simulator (x86_64) on iOS 9.3. My process is this:Init PJSIP on main threadRegister account via TCPReceive incoming call"Answer" call with 180 ringing, prompt the user to answer the callWhen user taps "answer" (again, main thread), send 200 OK and connect the conference portsHere are the logs:Interestingly this was working earlier today, and I haven't really changed anything. But, it is failing consistently now. Has anyone else seen this?Thanks in advance.Best,Colin
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org