hls.js 1.5.7-0.canary.10020 → 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.js CHANGED
@@ -644,7 +644,7 @@
644
644
  // Some browsers don't allow to use bind on console object anyway
645
645
  // fallback to default if needed
646
646
  try {
647
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.7-0.canary.10020");
647
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.7-0.canary.10021");
648
648
  } catch (e) {
649
649
  /* log fn threw an exception. All logger methods are no-ops. */
650
650
  return createLogger();
@@ -23251,7 +23251,7 @@
23251
23251
  hls.logger.log("Setting autoLevelCapping to " + maxLevel + ": " + levels[maxLevel].height + "p@" + levels[maxLevel].bitrate + " for media " + this.mediaWidth + "x" + this.mediaHeight);
23252
23252
  }
23253
23253
  hls.autoLevelCapping = maxLevel;
23254
- if (hls.autoLevelCapping > this.autoLevelCapping && this.streamController) {
23254
+ if (hls.autoLevelEnabled && hls.autoLevelCapping > this.autoLevelCapping && this.streamController) {
23255
23255
  // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch
23256
23256
  // usually happen when the user go to the fullscreen mode.
23257
23257
  this.streamController.nextLevelSwitch();
@@ -30217,7 +30217,7 @@
30217
30217
  * Get the video-dev/hls.js package version.
30218
30218
  */
30219
30219
  function get() {
30220
- return "1.5.7-0.canary.10020";
30220
+ return "1.5.7-0.canary.10021";
30221
30221
  }
30222
30222
  }, {
30223
30223
  key: "Events",