Ignore:
Timestamp:
Apr 3, 2018 5:01:20 AM (2 years ago)
Author:
ming
Message:

Fixed #2108: Fixed RTP socket to bind to any available port if port is zero

File:
1 edited

Legend:

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

    r5768 r5774  
    2323 
    2424#define THIS_FILE   "pjsua_core.c" 
     25 
     26#define DEFAULT_RTP_PORT        4000 
    2527 
    2628 
     
    289291#endif 
    290292    pjsua_transport_config_default(&cfg->rtp_cfg); 
     293    cfg->rtp_cfg.port = DEFAULT_RTP_PORT; 
    291294 
    292295    pjsua_media_config_default(&med_cfg); 
Note: See TracChangeset for help on using the changeset viewer.