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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -