mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
a/v received from non-publisher is ignored now without any error
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user