diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2015-04-09 08:15:48 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2015-04-09 08:15:48 +0000 |
commit | 564387c6b1d1ff9651241238dcdeedc0d658ecd5 (patch) | |
tree | 1de7f09a9e9f5951f796817384c12883175151db /pjmedia/include | |
parent | ca570849230de7a8785c8437ab0d4f9e2359f7b4 (diff) |
Re #1794:
- Updated G7221, the bitrate can also be set via param.info.avg_bps, this is applicable only when param.setting.dec_fmtp doesn't contain bitrate info.
- Fixed failing codec vector test in pjmedia-test due to wrong G7221 bitrate setting.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5058 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia-codec/g7221.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia-codec/g7221.h b/pjmedia/include/pjmedia-codec/g7221.h index 16a5e038..c3f6ed36 100644 --- a/pjmedia/include/pjmedia-codec/g7221.h +++ b/pjmedia/include/pjmedia-codec/g7221.h @@ -76,6 +76,9 @@ * - for 14kHz audio bandwidth (32kHz sampling rate): 24000 to 48000 bps, * multiplication of 400 * + * The bitrate is set via <tt>param.setting.dec_fmtp</tt>, if it does not + * contain bitrate info, the codec will check <tt>param.info.avg_bps</tt>. + * * \note * Currently only up to two non-standard modes can be enabled. * |