hls.js 1.4.6 → 1.4.7

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.
@@ -402,7 +402,7 @@ function enableLogs(debugConfig, id) {
402
402
  // Some browsers don't allow to use bind on console object anyway
403
403
  // fallback to default if needed
404
404
  try {
405
- exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.4.6"}`);
405
+ exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.4.7"}`);
406
406
  } catch (e) {
407
407
  exportedLogger = fakeLogger;
408
408
  }
@@ -8834,6 +8834,8 @@ class BaseStreamController extends TaskLoop {
8834
8834
  } else {
8835
8835
  logger.warn(`${data.details} reached or exceeded max retry (${retryCount})`);
8836
8836
  }
8837
+ } else if ((errorAction == null ? void 0 : errorAction.action) === NetworkErrorAction.SendAlternateToPenaltyBox) {
8838
+ this.state = State.WAITING_LEVEL;
8837
8839
  } else {
8838
8840
  this.state = State.ERROR;
8839
8841
  }
@@ -17252,6 +17254,7 @@ class XhrLoader {
17252
17254
  const stats = this.stats;
17253
17255
  stats.loading.first = 0;
17254
17256
  stats.loaded = 0;
17257
+ stats.aborted = false;
17255
17258
  const xhrSetup = this.xhrSetup;
17256
17259
  if (xhrSetup) {
17257
17260
  Promise.resolve().then(() => {
@@ -18079,7 +18082,7 @@ class Hls {
18079
18082
  * Get the video-dev/hls.js package version.
18080
18083
  */
18081
18084
  static get version() {
18082
- return "1.4.6";
18085
+ return "1.4.7";
18083
18086
  }
18084
18087
 
18085
18088
  /**