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.
package/dist/hls.light.js CHANGED
@@ -508,7 +508,7 @@
508
508
  // Some browsers don't allow to use bind on console object anyway
509
509
  // fallback to default if needed
510
510
  try {
511
- exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.4.6");
511
+ exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.4.7");
512
512
  } catch (e) {
513
513
  exportedLogger = fakeLogger;
514
514
  }
@@ -9114,6 +9114,8 @@
9114
9114
  } else {
9115
9115
  logger.warn(data.details + " reached or exceeded max retry (" + retryCount + ")");
9116
9116
  }
9117
+ } else if ((errorAction == null ? void 0 : errorAction.action) === NetworkErrorAction.SendAlternateToPenaltyBox) {
9118
+ this.state = State.WAITING_LEVEL;
9117
9119
  } else {
9118
9120
  this.state = State.ERROR;
9119
9121
  }
@@ -17644,6 +17646,7 @@
17644
17646
  var stats = this.stats;
17645
17647
  stats.loading.first = 0;
17646
17648
  stats.loaded = 0;
17649
+ stats.aborted = false;
17647
17650
  var xhrSetup = this.xhrSetup;
17648
17651
  if (xhrSetup) {
17649
17652
  Promise.resolve().then(function () {
@@ -19228,7 +19231,7 @@
19228
19231
  * Get the video-dev/hls.js package version.
19229
19232
  */
19230
19233
  function get() {
19231
- return "1.4.6";
19234
+ return "1.4.7";
19232
19235
  }
19233
19236
  }, {
19234
19237
  key: "Events",