From 19e38930bd63a4a167bae453f15f41e8124faabc Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 24 Jun 2022 17:34:26 +0200 Subject: [PATCH] hls muxer: compensate latency by using maxLiveSyncPlaybackRate (#972) --- internal/core/hls_muxer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/core/hls_muxer.go b/internal/core/hls_muxer.go index 77e2ed26..13e1feed 100644 --- a/internal/core/hls_muxer.go +++ b/internal/core/hls_muxer.go @@ -59,6 +59,7 @@ const create = () => { // but doesn't support fMP4s. if (Hls.isSupported()) { const hls = new Hls({ + maxLiveSyncPlaybackRate: 1.5, }); hls.on(Hls.Events.ERROR, (evt, data) => {