hls.js 1.5.7-0.canary.10021 → 1.5.7-0.canary.10022

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
@@ -613,7 +613,7 @@
613
613
  // Some browsers don't allow to use bind on console object anyway
614
614
  // fallback to default if needed
615
615
  try {
616
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.7-0.canary.10021");
616
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.7-0.canary.10022");
617
617
  } catch (e) {
618
618
  /* log fn threw an exception. All logger methods are no-ops. */
619
619
  return createLogger();
@@ -13604,7 +13604,9 @@
13604
13604
  this.log('Reset loading state');
13605
13605
  this.fragCurrent = null;
13606
13606
  this.fragPrevious = null;
13607
- this.state = State.IDLE;
13607
+ if (this.state !== State.STOPPED) {
13608
+ this.state = State.IDLE;
13609
+ }
13608
13610
  };
13609
13611
  _proto.resetStartWhenNotLoaded = function resetStartWhenNotLoaded(level) {
13610
13612
  // if loadedmetadata is not set, it means that first frag request failed
@@ -21464,7 +21466,7 @@
21464
21466
  * Get the video-dev/hls.js package version.
21465
21467
  */
21466
21468
  function get() {
21467
- return "1.5.7-0.canary.10021";
21469
+ return "1.5.7-0.canary.10022";
21468
21470
  }
21469
21471
  }, {
21470
21472
  key: "Events",