From 2e4ba3d1021bb7ef8e9aff286267343f96d1afd8 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 4 Apr 2012 17:01:35 +0400 Subject: [PATCH] a/v received from non-publisher is ignored now without any error --- ngx_rtmp_live_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_live_module.c b/ngx_rtmp_live_module.c index 9739007..a3ee5e7 100644 --- a/ngx_rtmp_live_module.c +++ b/ngx_rtmp_live_module.c @@ -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, "live: received audio/video from non-publisher"); - return NGX_ERROR; + return NGX_OK; } if (in == NULL || in->buf == NULL) {