Changeset 4525 for pjproject/trunk
- Timestamp:
- May 28, 2013 12:03:36 PM (12 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/pjsua
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r4489 r4525 1913 1913 pj_status_t status = PJ_SUCCESS; 1914 1914 unsigned i; 1915 pj_bool_t use_cli = PJ_FALSE; 1916 int cli_fe = 0; 1917 pj_uint16_t cli_telnet_port = 0; 1915 1918 1916 1919 #ifdef STEREO_DEMO … … 1970 1973 1971 1974 status = pjsua_destroy(); 1975 1976 if (app_config.use_cli) { 1977 use_cli = app_config.use_cli; 1978 cli_fe = app_config.cli_cfg.cli_fe; 1979 cli_telnet_port = app_config.cli_cfg.telnet_cfg.port; 1980 } 1981 1982 /* Reset config */ 1983 pj_bzero(&app_config, sizeof(app_config)); 1984 1985 if (use_cli) { 1986 app_config.use_cli = use_cli; 1987 app_config.cli_cfg.cli_fe = cli_fe; 1988 app_config.cli_cfg.telnet_cfg.port = cli_telnet_port; 1989 } 1972 1990 1973 1991 return status; -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c
r4522 r4525 1455 1455 for (i=0; i<PJ_ARRAY_SIZE(cfg->buddy_cfg); ++i) 1456 1456 pjsua_buddy_config_default(&cfg->buddy_cfg[i]); 1457 1458 cfg->buddy_cnt = 0; 1457 1459 1458 cfg->vid.vcapture_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; 1460 1459 cfg->vid.vrender_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; … … 1473 1472 1474 1473 /* Initialize default config */ 1475 default_config( app_config);1474 default_config(); 1476 1475 1477 1476 /* Parse the arguments */ … … 1481 1480 1482 1481 pj_status_t load_config(int argc, 1483 1484 1482 char **argv, 1483 pj_str_t *uri_arg) 1485 1484 { 1486 1485 pj_status_t status;
Note: See TracChangeset
for help on using the changeset viewer.