Ignore:
Timestamp:
Aug 2, 2017 2:51:59 AM (7 years ago)
Author:
ming
Message:

Fixed #2032: NAT64 support for IPv4 interoperability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r5597 r5636  
    15961596 
    15971597    /** 
     1598     * This specifies if the library should try to do an IPv6 resolution of 
     1599     * the STUN servers if the IPv4 resolution fails. It can be useful 
     1600     * in an IPv6-only environment, including on NAT64. 
     1601     * 
     1602     * Default: PJ_FALSE 
     1603     */ 
     1604    pj_bool_t       stun_try_ipv6; 
     1605 
     1606    /** 
    15981607     * This specifies if the library should ignore failure with the 
    15991608     * STUN servers. If this is set to PJ_FALSE, the library will refuse to 
     
    29112920 
    29122921/** 
     2922 * Specify NAT64 options to be used in account config. 
     2923 */ 
     2924typedef enum pjsua_nat64_opt 
     2925{ 
     2926    /** 
     2927     * NAT64 is not used. 
     2928     */ 
     2929    PJSUA_NAT64_DISABLED, 
     2930 
     2931    /** 
     2932     * NAT64 is enabled. 
     2933     */ 
     2934    PJSUA_NAT64_ENABLED 
     2935     
     2936} pjsua_nat64_opt; 
     2937 
     2938/** 
    29132939 * This structure describes account configuration to be specified when 
    29142940 * adding a new account with #pjsua_acc_add(). Application MUST initialize 
     
    33463372     */ 
    33473373    pjsua_transport_config rtp_cfg; 
     3374 
     3375    /** 
     3376     * Specify NAT64 options. 
     3377     * 
     3378     * Default: PJSUA_NAT64_DISABLED 
     3379     */ 
     3380    pjsua_nat64_opt             nat64_opt; 
    33483381 
    33493382    /** 
Note: See TracChangeset for help on using the changeset viewer.