Threading in Android using pjsua2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08 Jul 2014, at 14:28, Stefan Winkler <inst27 at gmail.com> wrote:

> Hi,
> 
> I'm using pjsua2 in an Android application and get the following error:
> 
> pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed
> 
> My question is how can I register my thread using the pjsua2 API. Hope there is a solution! Thanks!

The answer is written in the assertion message itself: "register external threads with pj_thread_register() ?.

--
Sa?l Ibarra Corretg?
AG Projects



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140708/08c9684c/attachment.asc>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux