Changeset 5704 for pjproject


Ignore:
Timestamp:
Nov 27, 2017 8:37:37 AM (19 months ago)
Author:
ming
Message:

Re #2069: Change the field name to outboundProxies, so that it's more consistent with account's proxies settings.

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp

    r5703 r5704  
    467467     * and the proxy configured in the account. 
    468468     */ 
    469     StringVector        outboundProxy; 
     469    StringVector        outboundProxies; 
    470470 
    471471    /** 
     
    504504     * Default: FALSE 
    505505     */ 
    506  
    507506    bool                stunTryIpv6; 
    508507 
  • pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp

    r5703 r5704  
    175175    } 
    176176    for (i=0; i<ua_cfg.outbound_proxy_cnt; ++i) { 
    177         this->outboundProxy.push_back(pj2Str(ua_cfg.outbound_proxy[i])); 
     177        this->outboundProxies.push_back(pj2Str(ua_cfg.outbound_proxy[i])); 
    178178    } 
    179179 
     
    209209    pua_cfg.stun_srv_cnt = i; 
    210210 
    211     for (i=0; i<this->outboundProxy.size() && 
     211    for (i=0; i<this->outboundProxies.size() && 
    212212              i<PJ_ARRAY_SIZE(pua_cfg.outbound_proxy); ++i) 
    213213    { 
    214         pua_cfg.outbound_proxy[i] = str2Pj(this->outboundProxy[i]); 
     214        pua_cfg.outbound_proxy[i] = str2Pj(this->outboundProxies[i]); 
    215215    } 
    216216    pua_cfg.outbound_proxy_cnt= i; 
Note: See TracChangeset for help on using the changeset viewer.