kaka
unread,Mar 8, 2012, 1:47:22 AM3/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CSipSimple Development
Hi guys.
I debugged the csip source code in Eclipse, and then i got error. as
show this:
-----------------------
pjsua_media.c ..NAT type detection failed: Invalid STUN server or
server not configured (PJNATH_ESTUNINSERVER)
-----------------------
step in step:
pjsua.create() that's ok
|
csipsimple_init() that's ok
|
pjsua.start(); then, app was crashed! LogCat showed this error.
I checked pjsua_media.c ,found :
/* Perform NAT detection */
status = pjsua_detect_nat_type();
if (status != PJ_SUCCESS) {
PJ_PERROR(1,(THIS_FILE, status, "NAT type detection failed"));
}
I don't know why the app crash. I think it's just a return value.