hls.js 1.5.2-0.canary.9938 → 1.5.2-0.canary.9941

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
@@ -536,7 +536,7 @@
536
536
  // Some browsers don't allow to use bind on console object anyway
537
537
  // fallback to default if needed
538
538
  try {
539
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.2-0.canary.9938");
539
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.2-0.canary.9941");
540
540
  } catch (e) {
541
541
  /* log fn threw an exception. All logger methods are no-ops. */
542
542
  return createLogger();
@@ -6910,7 +6910,7 @@
6910
6910
  var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
6911
6911
  var levelsSkipped = [];
6912
6912
  var _loop = function _loop() {
6913
- var _levelInfo$supportedR, _levelInfo$supportedR2;
6913
+ var _levelInfo$supportedR;
6914
6914
  var levelInfo = levels[i];
6915
6915
  var upSwitch = i > selectionBaseLevel;
6916
6916
  if (!levelInfo) {
@@ -6919,7 +6919,7 @@
6919
6919
 
6920
6920
  // skip candidates which change codec-family or video-range,
6921
6921
  // and which decrease or increase frame-rate for up and down-switch respectfully
6922
- if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate || !((_levelInfo$supportedR = levelInfo.supportedResult) != null && (_levelInfo$supportedR2 = _levelInfo$supportedR.decodingInfoResults) != null && _levelInfo$supportedR2[0].smooth)) {
6922
+ if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate || levelInfo.supportedResult && !((_levelInfo$supportedR = levelInfo.supportedResult.decodingInfoResults) != null && _levelInfo$supportedR[0].smooth)) {
6923
6923
  levelsSkipped.push(i);
6924
6924
  return 0; // continue
6925
6925
  }
@@ -21143,7 +21143,7 @@
21143
21143
  * Get the video-dev/hls.js package version.
21144
21144
  */
21145
21145
  function get() {
21146
- return "1.5.2-0.canary.9938";
21146
+ return "1.5.2-0.canary.9941";
21147
21147
  }
21148
21148
  }, {
21149
21149
  key: "Events",