added more audio codec params to codec module

This commit is contained in:
Roman Arutyunyan
2012-06-19 17:05:05 +04:00
parent 2c1fbcfb8f
commit 1e0e98a439
2 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,9 @@ typedef struct {
ngx_uint_t video_codec_id;
ngx_uint_t audio_data_rate;
ngx_uint_t audio_codec_id;
ngx_uint_t sample_rate; /* 5512, 11025, 22050, 44100 */
ngx_uint_t sample_size; /* 1=8bit, 2=16bit */
ngx_uint_t audio_channels; /* 1, 2 */
u_char profile[32];
u_char level[32];