hls.js 1.5.13-0.canary.10411 → 1.5.14-0.canary.10415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hls.js +4 -4
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +4 -4
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +4 -4
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +4 -4
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/base-stream-controller.ts +2 -1
package/dist/hls.light.mjs
CHANGED
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
|
|
420
420
|
// Some browsers don't allow to use bind on console object anyway
|
421
421
|
// fallback to default if needed
|
422
422
|
try {
|
423
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.
|
423
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10415"}`);
|
424
424
|
} catch (e) {
|
425
425
|
/* log fn threw an exception. All logger methods are no-ops. */
|
426
426
|
return createLogger();
|
@@ -13271,8 +13271,8 @@ class BaseStreamController extends TaskLoop {
|
|
13271
13271
|
}
|
13272
13272
|
reduceMaxBufferLength(threshold, fragDuration) {
|
13273
13273
|
const config = this.config;
|
13274
|
-
const minLength = Math.max(Math.min(threshold, config.maxBufferLength), fragDuration);
|
13275
|
-
const reducedLength = Math.max(threshold - fragDuration * 3, config.maxMaxBufferLength / 2);
|
13274
|
+
const minLength = Math.max(Math.min(threshold - fragDuration, config.maxBufferLength), fragDuration);
|
13275
|
+
const reducedLength = Math.max(threshold - fragDuration * 3, config.maxMaxBufferLength / 2, minLength);
|
13276
13276
|
if (reducedLength >= minLength) {
|
13277
13277
|
// reduce max buffer length as it might be too high. we do this to avoid loop flushing ...
|
13278
13278
|
config.maxMaxBufferLength = reducedLength;
|
@@ -20640,7 +20640,7 @@ class Hls {
|
|
20640
20640
|
* Get the video-dev/hls.js package version.
|
20641
20641
|
*/
|
20642
20642
|
static get version() {
|
20643
|
-
return "1.5.
|
20643
|
+
return "1.5.14-0.canary.10415";
|
20644
20644
|
}
|
20645
20645
|
|
20646
20646
|
/**
|