Browse Source

hls muxer: compensate latency by using maxLiveSyncPlaybackRate (#972)

pull/1003/head
aler9 3 years ago
parent
commit
19e38930bd
  1. 1
      internal/core/hls_muxer.go

1
internal/core/hls_muxer.go

@ -59,6 +59,7 @@ const create = () => { @@ -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) => {

Loading…
Cancel
Save