Changeset 2204 for pjproject/trunk
- Timestamp:
- Aug 11, 2008 6:10:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2196 r2204 236 236 puts (" --no-vad Disable VAD/silence detector (default=vad enabled)"); 237 237 puts (" --ec-tail=MSEC Set echo canceller tail length (default=256)"); 238 puts (" --ec-opt=OPT Select echo canceller algorithm (0=default, "); 239 puts (" 1=speex, 2=suppressor)"); 238 240 puts (" --ilbc-mode=MODE Set iLBC codec mode (20 or 30, default is 20)"); 239 241 puts (" --capture-dev=id Audio capture device ID (default=-1)"); … … 463 465 OPT_ILBC_MODE, OPT_REC_FILE, OPT_AUTO_REC, 464 466 OPT_COMPLEXITY, OPT_QUALITY, OPT_PTIME, OPT_NO_VAD, 465 OPT_RX_DROP_PCT, OPT_TX_DROP_PCT, OPT_EC_TAIL, 467 OPT_RX_DROP_PCT, OPT_TX_DROP_PCT, OPT_EC_TAIL, OPT_EC_OPT, 466 468 OPT_NEXT_ACCOUNT, OPT_NEXT_CRED, OPT_MAX_CALLS, 467 469 OPT_DURATION, OPT_NO_TCP, OPT_NO_UDP, OPT_THREAD_CNT, … … 548 550 { "no-vad", 0, 0, OPT_NO_VAD}, 549 551 { "ec-tail", 1, 0, OPT_EC_TAIL}, 552 { "ec-opt", 1, 0, OPT_EC_OPT}, 550 553 { "ilbc-mode", 1, 0, OPT_ILBC_MODE}, 551 554 { "rx-drop-pct",1, 0, OPT_RX_DROP_PCT}, … … 1068 1071 break; 1069 1072 1073 case OPT_EC_OPT: 1074 cfg->media_cfg.ec_options = my_atoi(pj_optarg); 1075 break; 1076 1070 1077 case OPT_QUALITY: 1071 1078 cfg->media_cfg.quality = my_atoi(pj_optarg); … … 1708 1715 } 1709 1716 1717 /* ec-opt */ 1718 if (config->media_cfg.ec_options != 0) { 1719 pj_ansi_sprintf(line, "--ec-opt %d\n", 1720 config->media_cfg.ec_options); 1721 pj_strcat2(&cfg, line); 1722 } 1710 1723 1711 1724 /* ilbc-mode */
Note: See TracChangeset
for help on using the changeset viewer.