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 -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -