- Timestamp:
- Jul 17, 2008 4:59:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2152 r2154 241 241 puts (" Specify N=0 for instant close when unused."); 242 242 puts (" --no-tones Disable audible tones"); 243 puts (" --jb-max-size Specify jitter buffer maximum size, in frames (default=-1)"); 243 244 244 245 puts (""); … … 464 465 OPT_TLS_NEG_TIMEOUT, OPT_TLS_SRV_NAME, 465 466 OPT_CAPTURE_DEV, OPT_PLAYBACK_DEV, 466 OPT_CAPTURE_LAT, OPT_PLAYBACK_LAT, OPT_NO_TONES, 467 OPT_CAPTURE_LAT, OPT_PLAYBACK_LAT, OPT_NO_TONES, OPT_JB_MAX_SIZE, 467 468 OPT_STDOUT_REFRESH, OPT_STDOUT_REFRESH_TEXT, 468 469 #ifdef _IONBF … … 565 566 { "snd-auto-close", 1, 0, OPT_SND_AUTO_CLOSE}, 566 567 { "no-tones", 0, 0, OPT_NO_TONES}, 568 { "jb-max-size", 1, 0, OPT_JB_MAX_SIZE}, 567 569 { NULL, 0, 0, 0} 568 570 }; … … 1179 1181 case OPT_NO_TONES: 1180 1182 cfg->no_tones = PJ_TRUE; 1183 break; 1184 1185 case OPT_JB_MAX_SIZE: 1186 cfg->media_cfg.jb_max = atoi(pj_optarg); 1181 1187 break; 1182 1188 … … 1591 1597 if (config->no_tones) { 1592 1598 pj_strcat2(&cfg, "--no-tones\n"); 1599 } 1600 if (config->media_cfg.jb_max != -1) { 1601 pj_ansi_sprintf(line, "--jb-max-size %d\n", 1602 config->media_cfg.jb_max); 1603 pj_strcat2(&cfg, line); 1593 1604 } 1594 1605
Note: See TracChangeset
for help on using the changeset viewer.