diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-16 01:34:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-16 01:34:14 +0000 |
commit | 5aea96f9de3908f2fc85c16001adc6c3f82d4705 (patch) | |
tree | e838b8a6077af937b2e834822540839c4e2515b2 /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | 4b289329774686a3e261fac70fbd902942cb9b1f (diff) |
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
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |