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

Merge pull request #4517 from jellyfin/renovate/hls.js-1.x

This commit is contained in:
Bill Thornton 2023-04-19 11:09:27 -04:00 committed by GitHub
commit 779185b29d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

14
package-lock.json generated
View file

@ -30,7 +30,7 @@
"flv.js": "1.6.2", "flv.js": "1.6.2",
"headroom.js": "0.12.0", "headroom.js": "0.12.0",
"history": "5.3.0", "history": "5.3.0",
"hls.js": "1.2.4", "hls.js": "1.4.0",
"intersection-observer": "0.12.2", "intersection-observer": "0.12.2",
"jassub": "1.5.12", "jassub": "1.5.12",
"jellyfin-apiclient": "1.10.0", "jellyfin-apiclient": "1.10.0",
@ -8677,9 +8677,9 @@
} }
}, },
"node_modules/hls.js": { "node_modules/hls.js": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.2.4.tgz", "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.4.0.tgz",
"integrity": "sha512-yC3K79Kzq1W+OgjT12JxKMDXv9DbfvulppxmPBl7D04SaTyd2IwWk5eNASQV1mUaPlKbjr16yI9292qpSGo0ig==" "integrity": "sha512-VEjg7Rx5FlE9TB3MIn0HPgq3J+vR7EoQnjaqMCk/ISEaCOSZlAFh4g867f1QkSxZiq9kHeUZo+iH16X7VS3jKA=="
}, },
"node_modules/hoist-non-react-statics": { "node_modules/hoist-non-react-statics": {
"version": "3.3.2", "version": "3.3.2",
@ -25933,9 +25933,9 @@
} }
}, },
"hls.js": { "hls.js": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.2.4.tgz", "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.4.0.tgz",
"integrity": "sha512-yC3K79Kzq1W+OgjT12JxKMDXv9DbfvulppxmPBl7D04SaTyd2IwWk5eNASQV1mUaPlKbjr16yI9292qpSGo0ig==" "integrity": "sha512-VEjg7Rx5FlE9TB3MIn0HPgq3J+vR7EoQnjaqMCk/ISEaCOSZlAFh4g867f1QkSxZiq9kHeUZo+iH16X7VS3jKA=="
}, },
"hoist-non-react-statics": { "hoist-non-react-statics": {
"version": "3.3.2", "version": "3.3.2",

View file

@ -88,7 +88,7 @@
"flv.js": "1.6.2", "flv.js": "1.6.2",
"headroom.js": "0.12.0", "headroom.js": "0.12.0",
"history": "5.3.0", "history": "5.3.0",
"hls.js": "1.2.4", "hls.js": "1.4.0",
"intersection-observer": "0.12.2", "intersection-observer": "0.12.2",
"jassub": "1.5.12", "jassub": "1.5.12",
"jellyfin-apiclient": "1.10.0", "jellyfin-apiclient": "1.10.0",

View file

@ -48,7 +48,7 @@ function supportsFade() {
} }
function requireHlsPlayer(callback) { function requireHlsPlayer(callback) {
import('hls.js').then(({ default: hls }) => { import('hls.js/dist/hls.js').then(({ default: hls }) => {
hls.DefaultConfig.lowLatencyMode = false; hls.DefaultConfig.lowLatencyMode = false;
hls.DefaultConfig.backBufferLength = Infinity; hls.DefaultConfig.backBufferLength = Infinity;
hls.DefaultConfig.liveBackBufferLength = 90; hls.DefaultConfig.liveBackBufferLength = 90;

View file

@ -105,7 +105,7 @@ function enableNativeTrackSupport(currentSrc, track) {
} }
function requireHlsPlayer(callback) { function requireHlsPlayer(callback) {
import('hls.js').then(({ default: hls }) => { import('hls.js/dist/hls.js').then(({ default: hls }) => {
hls.DefaultConfig.lowLatencyMode = false; hls.DefaultConfig.lowLatencyMode = false;
hls.DefaultConfig.backBufferLength = Infinity; hls.DefaultConfig.backBufferLength = Infinity;
hls.DefaultConfig.liveBackBufferLength = 90; hls.DefaultConfig.liveBackBufferLength = 90;