1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Set startPosition on HLS video to prevent transcoder from starting twice

This commit is contained in:
Dominik 2022-11-15 15:41:22 +01:00
parent 364f2d448e
commit e92ce92f1d

View file

@ -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) {