hls.js 1.6.0-beta.1.0.canary.10700 → 1.6.0-beta.1.0.canary.10702
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 +3 -3
- 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 +3 -3
- 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/audio-stream-controller.ts +1 -1
- package/src/controller/buffer-controller.ts +1 -1
package/dist/hls.light.mjs
CHANGED
@@ -397,7 +397,7 @@ function enableLogs(debugConfig, context, id) {
|
|
397
397
|
// Some browsers don't allow to use bind on console object anyway
|
398
398
|
// fallback to default if needed
|
399
399
|
try {
|
400
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.
|
400
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10702"}`);
|
401
401
|
} catch (e) {
|
402
402
|
/* log fn threw an exception. All logger methods are no-ops. */
|
403
403
|
return createLogger();
|
@@ -9817,7 +9817,7 @@ transfer tracks: ${JSON.stringify(transferredTracks, (key, value) => key === 'in
|
|
9817
9817
|
|
9818
9818
|
// Support for deprecated liveBackBufferLength
|
9819
9819
|
const backBufferLength = details.live && config.liveBackBufferLength !== null ? config.liveBackBufferLength : config.backBufferLength;
|
9820
|
-
if (isFiniteNumber(backBufferLength) && backBufferLength
|
9820
|
+
if (isFiniteNumber(backBufferLength) && backBufferLength >= 0) {
|
9821
9821
|
const maxBackBufferLength = Math.max(backBufferLength, targetDuration);
|
9822
9822
|
const targetBackBufferPosition = Math.floor(currentTime / targetDuration) * targetDuration - maxBackBufferLength;
|
9823
9823
|
this.flushBackBuffer(currentTime, targetDuration, targetBackBufferPosition);
|
@@ -18927,7 +18927,7 @@ class GapController extends Logger {
|
|
18927
18927
|
}
|
18928
18928
|
}
|
18929
18929
|
|
18930
|
-
const version = "1.6.0-beta.1.0.canary.
|
18930
|
+
const version = "1.6.0-beta.1.0.canary.10702";
|
18931
18931
|
|
18932
18932
|
// ensure the worker ends up in the bundle
|
18933
18933
|
// If the worker should not be included this gets aliased to empty.js
|