pj_register_thread equivalent method in java/Android -


we integrating pjsua2 our android application. integrated , working fine. there random crash error log:

../src/pj/os_core_unix.c:692: pj_thread_this: assertion "!"calling pjlib unknown/external thread. must " "register external threads pj_thread_register() " "before calling pjlib functions."" failed

what error mean?

we not find pj_thread_register() method in java/android pjsua2. equivalent method , how use?

as per pjsua2 documentation, use following register external thread:

void endpoint::libregisterthread(const string &name) 

to verify whether thread registered:

bool endpoint::libisthreadregistered() 

Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -