From 92b20ce5652f59334a6adc912edfaac6346f4d41 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 5 Jul 2012 12:34:45 +0400 Subject: [PATCH] removed seeking metadata packet when playing from the start --- ngx_rtmp_play_module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ngx_rtmp_play_module.c b/ngx_rtmp_play_module.c index 11f1ac7..c8ff866 100644 --- a/ngx_rtmp_play_module.c +++ b/ngx_rtmp_play_module.c @@ -488,7 +488,9 @@ ngx_rtmp_play_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v) e->handler = ngx_rtmp_play_send; e->log = s->connection->log; - ctx->meta_seeking = 1; + if (v->start > 0) { + ctx->meta_seeking = 1; + } ngx_rtmp_send_user_recorded(s, 1);