Threading in Android using pjsua2

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

 



Yes but as far as I know pj_thread_register() is not part of the pjsua2
API. How can I call this from the Java world?


2014-07-08 15:31 GMT+02:00 Sa?l Ibarra Corretg? <saul at ag-projects.com>:

>
> 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
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140708/e371697e/attachment.html>


[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