diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-21 16:46:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-21 16:46:34 +0000 |
commit | eb85ed9665fbcf4fa5a500e67fb4e7865ba79aa9 (patch) | |
tree | 421fffd640bcaf471f86a7715811453677e76729 /pjmedia/include | |
parent | 806767dde5dcdf2fb599ca37249f06fc50818483 (diff) |
Ticket #486: Handle G.722 wong clock rate bug and other codec with inconsistent clock rate
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1813 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/config.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h index ecfd371a..93be70d3 100644 --- a/pjmedia/include/pjmedia/config.h +++ b/pjmedia/include/pjmedia/config.h @@ -485,7 +485,9 @@ /** - * SRTP Transport + * Enable support for SRTP media transport. This will require linking + * with libsrtp from the third_party directory. + * * By default it is enabled. */ #ifndef PJMEDIA_HAS_SRTP @@ -494,6 +496,24 @@ /** + * Enable support to handle codecs with inconsistent clock rate + * between clock rate in SDP/RTP & the clock rate that is actually used. + * This happens for example with G.722 and MPEG audio codecs. + * See: + * - G.722 : RFC 3551 4.5.2 + * - MPEG audio : RFC 3551 4.5.13 & RFC 3119 + * + * Also when this feature is enabled, some handling will be performed + * to deal with clock rate incompatibilities of some phones. + * + * By default it is enabled. + */ +#ifndef PJMEDIA_HANDLE_G722_MPEG_BUG +# define PJMEDIA_HANDLE_G722_MPEG_BUG 1 +#endif + + +/** * @} */ |