diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2008-06-06 12:15:23 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2008-06-06 12:15:23 +0000 |
commit | 70e0bfbb16138e426e270b15919ca333de352e6b (patch) | |
tree | 0f5b6c28d0708a0327b68798fc1b86d60cb08bc7 /pjmedia/include | |
parent | 98065b76fa28cd414b122f3623cbc9d93b898d42 (diff) |
Added field maximum bitrate to codec param, this is useful for providing safer frame size calculation, especially when peer's bitrate is unknown
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1985 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/codec.h b/pjmedia/include/pjmedia/codec.h index 1a7e0bc0..d3e08927 100644 --- a/pjmedia/include/pjmedia/codec.h +++ b/pjmedia/include/pjmedia/codec.h @@ -253,6 +253,7 @@ typedef struct pjmedia_codec_param unsigned clock_rate; /**< Sampling rate in Hz */ unsigned channel_cnt; /**< Channel count. */ pj_uint32_t avg_bps; /**< Average bandwidth in bits/sec */ + pj_uint32_t max_bps; /**< Maximum bandwidth in bits/sec */ pj_uint16_t frm_ptime; /**< Decoder frame ptime in msec. */ pj_uint16_t enc_ptime; /**< Encoder ptime, or zero if it's equal to decoder ptime. */ |