Merge branch 'record-keyframes'

This commit is contained in:
Roman Arutyunyan
2012-12-25 19:50:11 +04:00
5 changed files with 88 additions and 43 deletions

View File

@ -192,7 +192,7 @@ ngx_rtmp_codec_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
}
/* no conf */
if (in->buf->pos[1]) {
if (!ngx_rtmp_is_codec_header(in)) {
return NGX_OK;
}