Changeset 5637


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

Re #2032: Fixed assertion if using ICE without STUN server.

File:
1 edited

Legend:

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

    r5636 r5637  
    894894        unsigned i; 
    895895 
    896         pj_sockaddr_print(&pjsua_var.stun_srv, stunip, sizeof(stunip), 0); 
     896        if (pj_sockaddr_has_addr(&pjsua_var.stun_srv)) { 
     897            pj_sockaddr_print(&pjsua_var.stun_srv, stunip, 
     898                              sizeof(stunip), 0); 
     899        } 
    897900 
    898901        for (i = 0; i < ice_cfg.stun_tp_cnt; ++i) { 
Note: See TracChangeset for help on using the changeset viewer.