removed seeking metadata packet when playing from the start

This commit is contained in:
Roman Arutyunyan 2012-07-05 12:34:45 +04:00
parent 26d932eb1c
commit 92b20ce565

View file

@ -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);