Changeset 5703 for pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
- Timestamp:
- Nov 27, 2017 8:24:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
r5676 r5703 174 174 this->stunServer.push_back(pj2Str(ua_cfg.stun_srv[i])); 175 175 } 176 for (i=0; i<ua_cfg.outbound_proxy_cnt; ++i) { 177 this->outboundProxy.push_back(pj2Str(ua_cfg.outbound_proxy[i])); 178 } 176 179 177 180 this->stunTryIpv6 = PJ2BOOL(ua_cfg.stun_try_ipv6); … … 205 208 } 206 209 pua_cfg.stun_srv_cnt = i; 210 211 for (i=0; i<this->outboundProxy.size() && 212 i<PJ_ARRAY_SIZE(pua_cfg.outbound_proxy); ++i) 213 { 214 pua_cfg.outbound_proxy[i] = str2Pj(this->outboundProxy[i]); 215 } 216 pua_cfg.outbound_proxy_cnt= i; 207 217 208 218 pua_cfg.nat_type_in_sdp = this->natTypeInSdp;
Note: See TracChangeset
for help on using the changeset viewer.