mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-28 07:58:59 +02:00
a/v received from non-publisher is ignored now without any error
This commit is contained in:
parent
f6d2406ae7
commit
2e4ba3d102
|
@ -309,7 +309,7 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
||||||
{
|
{
|
||||||
ngx_log_debug0(NGX_LOG_DEBUG_RTMP, c->log, 0,
|
ngx_log_debug0(NGX_LOG_DEBUG_RTMP, c->log, 0,
|
||||||
"live: received audio/video from non-publisher");
|
"live: received audio/video from non-publisher");
|
||||||
return NGX_ERROR;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in == NULL || in->buf == NULL) {
|
if (in == NULL || in->buf == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue