Skip to content

Commit af38d9f

Browse files
committed
fix bug[hls+]: error time
1 parent 62711f3 commit af38d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpegts/ngx_hls_live_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ ngx_hls_live_av(ngx_rtmp_session_t *s, ngx_mpegts_frame_t *frame)
991991
for (ctx = live_stream->hls_ctx; ctx; ctx = ctx->next) {
992992
ss = ctx->session;
993993

994-
switch (ngx_mpegts_gop_link(s, ss, 0, hacf->playlen)) {
994+
switch (ngx_mpegts_gop_link(s, ss, hacf->playlen, hacf->playlen)) {
995995
case NGX_DECLINED:
996996
continue;
997997
case NGX_ERROR:

0 commit comments

Comments
 (0)