Ignore:
Timestamp:
Apr 17, 2008 5:25:37 PM (17 years ago)
Author:
bennylp
Message:

SIPit ICE test: fixed crashed with ICE negotiation, fixed empty (0.0.0.0) srflx addr, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/ice-turn07/pjsip-apps/src/pjsua/pjsua_app.c

    r1926 r1932  
    2323#define NO_LIMIT        (int)0x7FFFFFFF 
    2424 
    25 #if 1 
     25#if 0 
    2626#define TURN_SERVER     "turn.pjsip.org" 
    2727#define TURN_PORT       34780 
    28 #define TURN_TCP        0 
    2928#define TURN_REALM      "pjsip.org" 
    3029#define TURN_USER       "700" 
    3130#define TURN_PASSWD     "700" 
    3231#endif 
     32 
     33#if 1 
     34/* Eyeball test */ 
     35#define TURN_SERVER     "216.187.87.78" 
     36#define TURN_PORT       3478 
     37#define TURN_REALM      "test.eyeball.com" 
     38#define TURN_USER       "sipit6" 
     39#define TURN_PASSWD     "password" 
     40#endif 
     41 
    3342 
    3443 
     
    240249static void default_config(struct app_config *cfg) 
    241250{ 
    242     char tmp[80]; 
     251    char tmp[120]; 
    243252    unsigned i; 
    244253 
    245254    pjsua_config_default(&cfg->cfg); 
    246     pj_ansi_sprintf(tmp, "PJSUA v%s/%s", pj_get_version(), PJ_OS_NAME); 
     255    pj_ansi_sprintf(tmp, "PJSUA v%s/%s (http://pjsip.org)", pj_get_version(), PJ_OS_NAME); 
    247256    pj_strdup2_with_null(app_config.pool, &cfg->cfg.user_agent, tmp); 
    248257 
Note: See TracChangeset for help on using the changeset viewer.