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:
parent
364f2d448e
commit
e92ce92f1d
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ function tryRemoveElement(elem) {
|
||||||
const includeCorsCredentials = await getIncludeCorsCredentials();
|
const includeCorsCredentials = await getIncludeCorsCredentials();
|
||||||
|
|
||||||
const hls = new Hls({
|
const hls = new Hls({
|
||||||
|
startPosition: options.playerStartPositionTicks / 10000000,
|
||||||
manifestLoadingTimeOut: 20000,
|
manifestLoadingTimeOut: 20000,
|
||||||
maxBufferLength: maxBufferLength,
|
maxBufferLength: maxBufferLength,
|
||||||
xhrSetup(xhr) {
|
xhrSetup(xhr) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue