From 5aea96f9de3908f2fc85c16001adc6c3f82d4705 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 16 Oct 2007 01:34:14 +0000 Subject: More ticket #399: added callback to report NAT detection result, and sends NAT type in SDP git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1501 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua_internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h') diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index a83e506a..53a978f4 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -194,6 +194,11 @@ struct pjsua_data pj_status_t stun_status; /**< STUN server status. */ pj_dns_resolver *resolver; /**< DNS resolver. */ + /* Detected NAT type */ + pj_stun_nat_type nat_type; /**< NAT type. */ + pj_status_t nat_status; /**< Detection status. */ + pj_bool_t nat_in_progress; /**< Detection in progress */ + /* Account: */ unsigned acc_cnt; /**< Number of accounts. */ pjsua_acc_id default_acc; /**< Default account ID */ -- cgit v1.2.3