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 CHANGED
@@ -1054,7 +1054,7 @@
1054
1054
  // Some browsers don't allow to use bind on console object anyway
1055
1055
  // fallback to default if needed
1056
1056
  try {
1057
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10701");
1057
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10702");
1058
1058
  } catch (e) {
1059
1059
  /* log fn threw an exception. All logger methods are no-ops. */
1060
1060
  return createLogger();
@@ -16059,7 +16059,7 @@
16059
16059
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16060
16060
  }
16061
16061
 
16062
- var version = "1.6.0-beta.1.0.canary.10701";
16062
+ var version = "1.6.0-beta.1.0.canary.10702";
16063
16063
 
16064
16064
  // ensure the worker ends up in the bundle
16065
16065
  // If the worker should not be included this gets aliased to empty.js
@@ -18891,7 +18891,7 @@
18891
18891
 
18892
18892
  // Support for deprecated liveBackBufferLength
18893
18893
  var backBufferLength = details.live && config.liveBackBufferLength !== null ? config.liveBackBufferLength : config.backBufferLength;
18894
- if (isFiniteNumber(backBufferLength) && backBufferLength > 0) {
18894
+ if (isFiniteNumber(backBufferLength) && backBufferLength >= 0) {
18895
18895
  var maxBackBufferLength = Math.max(backBufferLength, targetDuration);
18896
18896
  var targetBackBufferPosition = Math.floor(currentTime / targetDuration) * targetDuration - maxBackBufferLength;
18897
18897
  this.flushBackBuffer(currentTime, targetDuration, targetBackBufferPosition);