- Timestamp:
- Jan 17, 2008 5:29:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/pjsip-apps/src/pjsua/pjsua_app.c
r1626 r1698 166 166 puts ("Media Options:"); 167 167 puts (" --use-ice Enable ICE (default:no)"); 168 puts (" --use-srtp Enable SRTP (default:no)"); 168 169 puts (" --add-codec=name Manually add codec (default is to enable all)"); 169 170 puts (" --dis-codec=name Disable codec (can be specified multiple times)"); … … 383 384 OPT_ADD_BUDDY, OPT_OFFER_X_MS_MSG, OPT_NO_PRESENCE, 384 385 OPT_AUTO_ANSWER, OPT_AUTO_HANGUP, OPT_AUTO_PLAY, OPT_AUTO_LOOP, 385 OPT_AUTO_CONF, OPT_CLOCK_RATE, OPT_USE_ICE, 386 OPT_AUTO_CONF, OPT_CLOCK_RATE, OPT_USE_ICE, OPT_USE_SRTP, 386 387 OPT_PLAY_FILE, OPT_PLAY_TONE, OPT_RTP_PORT, OPT_ADD_CODEC, 387 388 OPT_ILBC_MODE, OPT_REC_FILE, OPT_AUTO_REC, … … 442 443 { "rtp-port", 1, 0, OPT_RTP_PORT}, 443 444 { "use-ice", 0, 0, OPT_USE_ICE}, 445 { "use-srtp", 0, 0, OPT_USE_SRTP}, 444 446 { "add-codec", 1, 0, OPT_ADD_CODEC}, 445 447 { "dis-codec", 1, 0, OPT_DIS_CODEC}, … … 797 799 break; 798 800 801 case OPT_USE_SRTP: 802 cfg->media_cfg.enable_srtp = PJ_TRUE; 803 break; 804 799 805 case OPT_RTP_PORT: 800 806 cfg->rtp_cfg.port = my_atoi(pj_optarg);
Note: See TracChangeset
for help on using the changeset viewer.