voip - Two pjsua application at the same time on Android -


i have 2 application, uses pjsua. can not run both @ same time on single android device. after running second application crashes exception:

java.lang.exception: title: pjsua_transport_create(type, &tcfg, &tid) 06-26 14:49:56.355 code: 120098 06-26 14:49:56.355 description: address in use 06-26 14:49:56.355 location:
../src/pjsua2/endpoint.cpp:1519 06-26 14:49:56.355 14:49:56.361
pjsua_core.c pjsua state changed: init --> starting 06-26 14:49:56.355 14:49:56.362 sip_endpoint.c .module "mod-unsolicited-mwi" registered 06-26 14:49:56.360 28512-28512/com.lemondo.biz.intelphone i/system.out﹕ 14:49:56.363
pjsua_core.c .pjsua state changed: starting --> running 06-26 14:49:56.365 a/libc﹕ ../src/pjsua-lib/pjsua_acc.c:404: pjsua_acc_add: assertion "pjsua_var.tpdata[0].data.ptr != ((void *)0)" failed

do know how can solve problem?

set unique local ports (might described bind ports in configuration) these applications. plain pjsua --local-port parameter.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -