Changeset 1102 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Mar 24, 2007 5:37:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1098 r1102 904 904 905 905 /** 906 * Specify STUN server. This server will be first resolved with DNS SRV 907 * to get the actual server address. If DNS SRV resolution failed, or 908 * when nameserver is not configured, the server will be resolved using 909 * DNS A resolution (i.e. gethostbyname()). 910 */ 911 pj_str_t stun_srv; 906 * Specify domain name to be resolved with DNS SRV resolution to get the 907 * address of the STUN servers. Alternatively application may specify 908 * \a stun_host and \a stun_relay_host instead. 909 * 910 * If DNS SRV resolution failed for this domain, then DNS A resolution 911 * will be performed only if \a stun_host is specified. 912 */ 913 pj_str_t stun_domain; 914 915 /** 916 * Specify STUN server to be used. 917 */ 918 pj_str_t stun_host; 919 920 /** 921 * Specify STUN relay server to be used. 922 */ 923 pj_str_t stun_relay_host; 912 924 913 925 /** … … 1010 1022 1011 1023 pj_strdup_with_null(pool, &dst->user_agent, &src->user_agent); 1012 pj_strdup_with_null(pool, &dst->stun_srv, &src->stun_srv); 1024 pj_strdup_with_null(pool, &dst->stun_domain, &src->stun_domain); 1025 pj_strdup_with_null(pool, &dst->stun_host, &src->stun_host); 1026 pj_strdup_with_null(pool, &dst->stun_relay_host, &src->stun_relay_host); 1013 1027 } 1014 1028
Note: See TracChangeset
for help on using the changeset viewer.