From c1d21a76a99064c878dbc1f101ac3c7765f52eb3 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Fri, 20 Apr 2012 19:55:37 +0400 Subject: [PATCH] fixed message priorirt --- 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 57765d2..7d546fb 100644 --- a/ngx_rtmp_live_module.c +++ b/ngx_rtmp_live_module.c @@ -373,7 +373,7 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, ch.type = h->type; lh.msid = ch.msid; if (h->type == NGX_RTMP_MSG_VIDEO) { - prio = 1;/*ngx_rtmp_get_video_frame_type(in);*/ + prio = ngx_rtmp_get_video_frame_type(in); ch.csid = NGX_RTMP_LIVE_CSID_VIDEO; lh.timestamp = ctx->last_video; ctx->last_video = h->timestamp;