mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 18:01:08 +02:00
fixed recording
This commit is contained in:
parent
6be685f21b
commit
9a118b612e
|
@ -582,9 +582,6 @@ ngx_rtmp_record_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
ctx->epoch = h->timestamp;
|
||||
|
||||
codec_ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_codec_module);
|
||||
if (codec_ctx == NULL) {
|
||||
return NGX_OK;
|
||||
}
|
||||
if (codec_ctx) {
|
||||
ch = *h;
|
||||
|
||||
|
|
Loading…
Reference in a new issue