diff options
author | Liong Sauw Ming <ming@teluu.com> | 2012-08-31 09:03:36 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2012-08-31 09:03:36 +0000 |
commit | 39671bf4a4da966c29a93d5dd4248017990383fe (patch) | |
tree | 709791557b0cd9a4fccfc72cd905a42e361bcd74 /pjmedia/include | |
parent | ee316e75b1b1e39f1a52d4a66a522b00f2a12260 (diff) |
Fixed #1577: Add pjmedia setting to include SDP bandwidth modifier "TIAS" (RFC3890)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4240 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/config.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h index c37f43cd..0005fcbc 100644 --- a/pjmedia/include/pjmedia/config.h +++ b/pjmedia/include/pjmedia/config.h @@ -685,6 +685,28 @@ /** + * This macro controls whether pjmedia should include SDP + * bandwidth modifier "TIAS" (RFC3890). + * + * Note that there is also a run-time variable to turn this setting + * on or off, defined in endpoint.c. To access this variable, use + * the following construct + * + \verbatim + extern pj_bool_t pjmedia_add_bandwidth_tias_in_sdp; + + // Do not enable bandwidth information inclusion in sdp + pjmedia_add_bandwidth_tias_in_sdp = PJ_FALSE; + \endverbatim + * + * Default: 1 (yes) + */ +#ifndef PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP +# define PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP 1 +#endif + + +/** * This macro controls whether pjmedia should include SDP rtpmap * attribute for static payload types. SDP rtpmap for static * payload types are optional, although they are normally included |