Changeset 643 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Aug 2, 2006 7:41:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r637 r643 127 127 puts (" --ptime=MSEC Override codec ptime to MSEC (default=specific)"); 128 128 puts (" --no-vad Disable VAD/silence detector (default=vad enabled)"); 129 puts (" --ec-tail=MSEC Set echo canceller tail length (default=256)"); 129 130 puts (" --ilbc-mode=MODE Set iLBC codec mode (20 or 30, default is 20)"); 130 131 puts (" --rx-drop-pct=PCT Drop PCT percent of RX RTP (for pkt lost sim, default: 0)"); … … 262 263 OPT_PLAY_FILE, OPT_RTP_PORT, OPT_ADD_CODEC, OPT_ILBC_MODE, 263 264 OPT_COMPLEXITY, OPT_QUALITY, OPT_PTIME, OPT_NO_VAD, 264 OPT_RX_DROP_PCT, OPT_TX_DROP_PCT, 265 OPT_RX_DROP_PCT, OPT_TX_DROP_PCT, OPT_EC_TAIL, 265 266 OPT_NEXT_ACCOUNT, OPT_NEXT_CRED, OPT_MAX_CALLS, 266 267 OPT_DURATION, OPT_NO_TCP, OPT_NO_UDP, … … 304 305 { "ptime", 1, 0, OPT_PTIME}, 305 306 { "no-vad", 0, 0, OPT_NO_VAD}, 307 { "ec-tail", 1, 0, OPT_EC_TAIL}, 306 308 { "ilbc-mode", 1, 0, OPT_ILBC_MODE}, 307 309 { "rx-drop-pct",1, 0, OPT_RX_DROP_PCT}, … … 622 624 case OPT_NO_VAD: 623 625 cfg->media_cfg.no_vad = PJ_TRUE; 626 break; 627 628 case OPT_EC_TAIL: 629 cfg->media_cfg.ec_tail_len = my_atoi(pj_optarg); 630 if (cfg->media_cfg.ec_tail_len > 1000) { 631 PJ_LOG(1,(THIS_FILE, "I think the ec-tail length setting " 632 "is too big")); 633 return -1; 634 } 624 635 break; 625 636
Note: See TracChangeset
for help on using the changeset viewer.