mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-03 07:09:31 +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;
|
ctx->epoch = h->timestamp;
|
||||||
|
|
||||||
codec_ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_codec_module);
|
codec_ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_codec_module);
|
||||||
if (codec_ctx == NULL) {
|
|
||||||
return NGX_OK;
|
|
||||||
}
|
|
||||||
if (codec_ctx) {
|
if (codec_ctx) {
|
||||||
ch = *h;
|
ch = *h;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue