Ignore:
Timestamp:
Mar 1, 2006 7:29:10 PM (18 years ago)
Author:
bennylp
Message:

Moved pjsua to pjsip-apps

File:
1 edited

Legend:

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

    r247 r253  
    5959 
    6060 
     61    /* Default we start RTP at port 4000 */ 
     62    pjsua.start_rtp_port = 4000; 
     63 
     64 
    6165    /* Default logging settings: */ 
    6266    pjsua.log_level = 5; 
     
    139143{ 
    140144    enum {  
    141         RTP_START_PORT = 4000, 
    142         RTP_RANDOM_START = 2, 
    143145        RTP_RETRY = 100 
    144146    }; 
     
    149151    }; 
    150152    int i; 
    151     static pj_uint16_t rtp_port = RTP_START_PORT; 
     153    static pj_uint16_t rtp_port; 
    152154    pj_sock_t sock[3]; 
    153155    pj_sockaddr_in mapped_addr[3]; 
    154156    pj_status_t status = PJ_SUCCESS; 
     157 
     158    if (rtp_port == 0) 
     159        rtp_port = (pj_uint16_t)pjsua.start_rtp_port; 
    155160 
    156161    for (i=0; i<3; ++i) 
Note: See TracChangeset for help on using the changeset viewer.