- Timestamp:
- Jun 26, 2007 10:13:13 AM (17 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r1391 r1393 205 205 206 206 /** 207 * Specify whether RTCP should be advertised in SDP. This setting would 208 * affect whether RTCP candidate will be added in SDP when ICE is used. 209 * Application might want to disable RTCP advertisement in SDP to 210 * reduce the message size. 211 * 212 * Default: 1 (yes) 213 */ 214 #ifndef PJMEDIA_ADVERTISE_RTCP 215 # define PJMEDIA_ADVERTISE_RTCP 1 216 #endif 217 218 219 /** 207 220 * Interval to send RTCP packets, in msec 208 221 */ … … 344 357 /** 345 358 * Support for sending and decoding RTCP port in SDP (RFC 3605). 346 * Default is yes.359 * Default is equal to PJMEDIA_ADVERTISE_RTCP setting. 347 360 */ 348 361 #ifndef PJMEDIA_HAS_RTCP_IN_SDP 349 # define PJMEDIA_HAS_RTCP_IN_SDP 1362 # define PJMEDIA_HAS_RTCP_IN_SDP (PJMEDIA_ADVERTISE_RTCP) 350 363 #endif 351 364 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1266 r1393 558 558 pj_ice_strans_comp comp; 559 559 int next_port; 560 561 status = pjmedia_ice_create(pjsua_var.med_endpt, NULL, 2, 560 #if PJMEDIA_ADVERTISE_RTCP 561 enum { COMP_CNT=2 }; 562 #else 563 enum { COMP_CNT=1 }; 564 #endif 565 566 status = pjmedia_ice_create(pjsua_var.med_endpt, NULL, COMP_CNT, 562 567 &pjsua_var.stun_cfg, 563 568 &pjsua_var.calls[i].med_tp);
Note: See TracChangeset
for help on using the changeset viewer.