Ignore:
Timestamp:
Jul 25, 2018 11:56:39 PM (16 months ago)
Author:
ming
Message:

Fixed #2133: Skip IPv4 STUN resolution if account is using NAT64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r5825 r5839  
    270270                                PJSUA_STUN_RETRY_ON_FAILURE) == 
    271271                                PJSUA_STUN_RETRY_ON_FAILURE; 
    272         status = resolve_stun_server(PJ_TRUE, retry_stun); 
     272        status = resolve_stun_server(PJ_TRUE, retry_stun, 
     273                                     (unsigned)acc->cfg.nat64_opt); 
    273274        if (status != PJ_SUCCESS) { 
    274275            pjsua_perror(THIS_FILE, "Error resolving STUN server", status); 
     
    861862                                PJSUA_STUN_RETRY_ON_FAILURE) == 
    862863                                PJSUA_STUN_RETRY_ON_FAILURE; 
    863         status = resolve_stun_server(PJ_TRUE, retry_stun); 
     864        status = resolve_stun_server(PJ_TRUE, retry_stun, 
     865                                     (unsigned)acc_cfg->nat64_opt); 
    864866        if (status != PJ_SUCCESS) { 
    865867            pjsua_perror(THIS_FILE, "Error resolving STUN server", status); 
Note: See TracChangeset for help on using the changeset viewer.