Changeset 4240 for pjproject/trunk
- Timestamp:
- Aug 31, 2012 9:03:36 AM (12 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r4197 r4240 686 686 687 687 /** 688 * This macro controls whether pjmedia should include SDP 689 * bandwidth modifier "TIAS" (RFC3890). 690 * 691 * Note that there is also a run-time variable to turn this setting 692 * on or off, defined in endpoint.c. To access this variable, use 693 * the following construct 694 * 695 \verbatim 696 extern pj_bool_t pjmedia_add_bandwidth_tias_in_sdp; 697 698 // Do not enable bandwidth information inclusion in sdp 699 pjmedia_add_bandwidth_tias_in_sdp = PJ_FALSE; 700 \endverbatim 701 * 702 * Default: 1 (yes) 703 */ 704 #ifndef PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP 705 # define PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP 1 706 #endif 707 708 709 /** 688 710 * This macro controls whether pjmedia should include SDP rtpmap 689 711 * attribute for static payload types. SDP rtpmap for static -
pjproject/trunk/pjmedia/src/pjmedia/endpoint.c
r3999 r4240 50 50 PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT; 51 51 52 /* Config to control use of RFC3890 TIAS */ 53 pj_bool_t pjmedia_add_bandwidth_tias_in_sdp = 54 PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP; 55 52 56 53 57 … … 552 556 * (RFC3890). 553 557 */ 554 if (max_bitrate ) {558 if (max_bitrate && pjmedia_add_bandwidth_tias_in_sdp) { 555 559 const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; 556 560 pjmedia_sdp_bandw *b; … … 716 720 * (RFC3890). 717 721 */ 718 if (max_bitrate ) {722 if (max_bitrate && pjmedia_add_bandwidth_tias_in_sdp) { 719 723 const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; 720 724 pjmedia_sdp_bandw *b;
Note: See TracChangeset
for help on using the changeset viewer.