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

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.10018");
616
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.7-0.canary.10021");
617
617
  } catch (e) {
618
618
  /* log fn threw an exception. All logger methods are no-ops. */
619
619
  return createLogger();
@@ -8484,7 +8484,7 @@
8484
8484
  hls.logger.log("Setting autoLevelCapping to " + maxLevel + ": " + levels[maxLevel].height + "p@" + levels[maxLevel].bitrate + " for media " + this.mediaWidth + "x" + this.mediaHeight);
8485
8485
  }
8486
8486
  hls.autoLevelCapping = maxLevel;
8487
- if (hls.autoLevelCapping > this.autoLevelCapping && this.streamController) {
8487
+ if (hls.autoLevelEnabled && hls.autoLevelCapping > this.autoLevelCapping && this.streamController) {
8488
8488
  // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch
8489
8489
  // usually happen when the user go to the fullscreen mode.
8490
8490
  this.streamController.nextLevelSwitch();
@@ -21464,7 +21464,7 @@
21464
21464
  * Get the video-dev/hls.js package version.
21465
21465
  */
21466
21466
  function get() {
21467
- return "1.5.7-0.canary.10018";
21467
+ return "1.5.7-0.canary.10021";
21468
21468
  }
21469
21469
  }, {
21470
21470
  key: "Events",