Changeset 2196
- Timestamp:
- Aug 7, 2008 9:55:52 AM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2191 r2196 250 250 puts ("Media Transport Options:"); 251 251 puts (" --use-ice Enable ICE (default:no)"); 252 puts (" --ice-no-host Disable ICE host candidates"); 252 puts (" --ice-no-host Disable ICE host candidates (default: no)"); 253 puts (" --ice-no-rtcp Disable RTCP component in ICE (default: no)"); 253 254 puts (" --rtp-port=N Base port to try for RTP (default=4000)"); 254 255 puts (" --rx-drop-pct=PCT Drop PCT percent of RX RTP (for pkt lost sim, default: 0)"); … … 457 458 OPT_AUTO_CONF, OPT_CLOCK_RATE, OPT_SND_CLOCK_RATE, OPT_STEREO, 458 459 OPT_USE_ICE, OPT_USE_SRTP, OPT_SRTP_SECURE, 459 OPT_USE_TURN, OPT_ICE_NO_HOST, OPT_ TURN_SRV, OPT_TURN_TCP,460 OPT_TURN_ USER, OPT_TURN_PASSWD,460 OPT_USE_TURN, OPT_ICE_NO_HOST, OPT_ICE_NO_RTCP, OPT_TURN_SRV, 461 OPT_TURN_TCP, OPT_TURN_USER, OPT_TURN_PASSWD, 461 462 OPT_PLAY_FILE, OPT_PLAY_TONE, OPT_RTP_PORT, OPT_ADD_CODEC, 462 463 OPT_ILBC_MODE, OPT_REC_FILE, OPT_AUTO_REC, … … 530 531 { "use-turn", 0, 0, OPT_USE_TURN}, 531 532 { "ice-no-host",0, 0, OPT_ICE_NO_HOST}, 533 { "ice-no-rtcp",0, 0, OPT_ICE_NO_RTCP}, 532 534 { "turn-srv", 1, 0, OPT_TURN_SRV}, 533 535 { "turn-tcp", 0, 0, OPT_TURN_TCP}, … … 948 950 break; 949 951 952 case OPT_ICE_NO_RTCP: 953 cfg->media_cfg.ice_no_rtcp = PJ_TRUE; 954 break; 955 950 956 case OPT_TURN_SRV: 951 957 cfg->media_cfg.turn_server = pj_str(pj_optarg); … … 1555 1561 if (config->media_cfg.ice_no_host_cands) 1556 1562 pj_strcat2(&cfg, "--ice-no-host\n"); 1563 1564 if (config->media_cfg.ice_no_rtcp) 1565 pj_strcat2(&cfg, "--ice-no-rtcp\n"); 1557 1566 1558 1567 if (config->media_cfg.turn_server.slen) { -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r2162 r2196 4102 4102 4103 4103 /** 4104 * Disable RTCP component. 4105 * 4106 * Default: no 4107 */ 4108 pj_bool_t ice_no_rtcp; 4109 4110 /** 4104 4111 * Enable TURN relay candidate in ICE. 4105 4112 */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r2191 r2196 759 759 760 760 comp_cnt = 1; 761 if (PJMEDIA_ADVERTISE_RTCP )761 if (PJMEDIA_ADVERTISE_RTCP && !pjsua_var.media_cfg.ice_no_rtcp) 762 762 ++comp_cnt; 763 763
Note: See TracChangeset
for help on using the changeset viewer.