From ae7e68c914940815e32186b6a241c18ea0e8144d Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Mon, 25 Apr 2022 18:57:12 +0200 Subject: [PATCH] hls muxer: remove progressive flag; add liveSyncDurationCount, liveMaxLatencyDurationCount to hls.js --- internal/core/hls_muxer.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/core/hls_muxer.go b/internal/core/hls_muxer.go index 67ef2106..af03599d 100644 --- a/internal/core/hls_muxer.go +++ b/internal/core/hls_muxer.go @@ -66,7 +66,9 @@ const create = () => { } else { const hls = new Hls({ - progressive: true, + progressive: false, + liveSyncDurationCount: 2, + liveMaxLatencyDurationCount: 3, }); hls.on(Hls.Events.ERROR, (evt, data) => {