From e92ce92f1ddeb6d9e0ebb89ec83f9414d4d121d6 Mon Sep 17 00:00:00 2001 From: Dominik Date: Tue, 15 Nov 2022 15:41:22 +0100 Subject: [PATCH] Set startPosition on HLS video to prevent transcoder from starting twice --- src/plugins/htmlVideoPlayer/plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 249e27328..90da50359 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -409,6 +409,7 @@ function tryRemoveElement(elem) { const includeCorsCredentials = await getIncludeCorsCredentials(); const hls = new Hls({ + startPosition: options.playerStartPositionTicks / 10000000, manifestLoadingTimeOut: 20000, maxBufferLength: maxBufferLength, xhrSetup(xhr) {