mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed h264 header considered by recorder as a key with intermediate frames following
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user