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.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();
|
@@ -10425,8 +10425,8 @@ class BaseStreamController extends TaskLoop {
|
|
10425
10425
|
}
|
10426
10426
|
reduceMaxBufferLength(threshold, fragDuration) {
|
10427
10427
|
const config = this.config;
|
10428
|
-
const minLength = Math.max(Math.min(threshold, config.maxBufferLength), fragDuration);
|
10429
|
-
const reducedLength = Math.max(threshold - fragDuration * 3, config.maxMaxBufferLength / 2);
|
10428
|
+
const minLength = Math.max(Math.min(threshold - fragDuration, config.maxBufferLength), fragDuration);
|
10429
|
+
const reducedLength = Math.max(threshold - fragDuration * 3, config.maxMaxBufferLength / 2, minLength);
|
10430
10430
|
if (reducedLength >= minLength) {
|
10431
10431
|
// reduce max buffer length as it might be too high. we do this to avoid loop flushing ...
|
10432
10432
|
config.maxMaxBufferLength = reducedLength;
|
@@ -29268,7 +29268,7 @@ class Hls {
|
|
29268
29268
|
* Get the video-dev/hls.js package version.
|
29269
29269
|
*/
|
29270
29270
|
static get version() {
|
29271
|
-
return "1.5.
|
29271
|
+
return "1.5.14-0.canary.10415";
|
29272
29272
|
}
|
29273
29273
|
|
29274
29274
|
/**
|