added support for multiple aac/avc codecs per stream

This commit is contained in:
Roman Arutyunyan
2012-06-13 17:35:48 +04:00
parent c377e3b5c6
commit 266e206afc
4 changed files with 54 additions and 23 deletions

View File

@ -47,6 +47,9 @@ u_char * ngx_rtmp_get_video_codec_name(ngx_uint_t id);
typedef struct {
ngx_uint_t avc_version;
ngx_uint_t aac_version;
ngx_chain_t *avc_header;
ngx_chain_t *aac_header;