hls.js 1.6.0-beta.1.0.canary.10701 → 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 +3 -3
- 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 +3 -3
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/buffer-controller.ts +1 -1
package/dist/hls.light.js
CHANGED
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
// Some browsers don't allow to use bind on console object anyway
|
1026
1026
|
// fallback to default if needed
|
1027
1027
|
try {
|
1028
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.
|
1028
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10702");
|
1029
1029
|
} catch (e) {
|
1030
1030
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1031
1031
|
return createLogger();
|
@@ -4509,7 +4509,7 @@
|
|
4509
4509
|
|
4510
4510
|
// Support for deprecated liveBackBufferLength
|
4511
4511
|
var backBufferLength = details.live && config.liveBackBufferLength !== null ? config.liveBackBufferLength : config.backBufferLength;
|
4512
|
-
if (isFiniteNumber(backBufferLength) && backBufferLength
|
4512
|
+
if (isFiniteNumber(backBufferLength) && backBufferLength >= 0) {
|
4513
4513
|
var maxBackBufferLength = Math.max(backBufferLength, targetDuration);
|
4514
4514
|
var targetBackBufferPosition = Math.floor(currentTime / targetDuration) * targetDuration - maxBackBufferLength;
|
4515
4515
|
this.flushBackBuffer(currentTime, targetDuration, targetBackBufferPosition);
|
@@ -19522,7 +19522,7 @@
|
|
19522
19522
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
19523
19523
|
}
|
19524
19524
|
|
19525
|
-
var version = "1.6.0-beta.1.0.canary.
|
19525
|
+
var version = "1.6.0-beta.1.0.canary.10702";
|
19526
19526
|
|
19527
19527
|
// ensure the worker ends up in the bundle
|
19528
19528
|
// If the worker should not be included this gets aliased to empty.js
|