Ignore:
Timestamp:
Aug 31, 2012 9:03:36 AM (12 years ago)
Author:
ming
Message:

Fixed #1577: Add pjmedia setting to include SDP bandwidth modifier "TIAS" (RFC3890)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/endpoint.c

    r3999 r4240  
    5050            PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT; 
    5151 
     52/* Config to control use of RFC3890 TIAS */ 
     53pj_bool_t pjmedia_add_bandwidth_tias_in_sdp = 
     54            PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP; 
     55 
    5256 
    5357 
     
    552556     * (RFC3890). 
    553557     */ 
    554     if (max_bitrate) { 
     558    if (max_bitrate && pjmedia_add_bandwidth_tias_in_sdp) { 
    555559        const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; 
    556560        pjmedia_sdp_bandw *b; 
     
    716720     * (RFC3890). 
    717721     */ 
    718     if (max_bitrate) { 
     722    if (max_bitrate && pjmedia_add_bandwidth_tias_in_sdp) { 
    719723        const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; 
    720724        pjmedia_sdp_bandw *b; 
Note: See TracChangeset for help on using the changeset viewer.