hls.js 1.5.2 → 1.5.3

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
@@ -521,7 +521,7 @@
521
521
  // Some browsers don't allow to use bind on console object anyway
522
522
  // fallback to default if needed
523
523
  try {
524
- exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.2");
524
+ exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.3");
525
525
  } catch (e) {
526
526
  exportedLogger = fakeLogger;
527
527
  }
@@ -6859,7 +6859,7 @@
6859
6859
  var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
6860
6860
  var levelsSkipped = [];
6861
6861
  var _loop = function _loop() {
6862
- var _levelInfo$supportedR, _levelInfo$supportedR2;
6862
+ var _levelInfo$supportedR;
6863
6863
  var levelInfo = levels[i];
6864
6864
  var upSwitch = i > selectionBaseLevel;
6865
6865
  if (!levelInfo) {
@@ -6868,7 +6868,7 @@
6868
6868
 
6869
6869
  // skip candidates which change codec-family or video-range,
6870
6870
  // and which decrease or increase frame-rate for up and down-switch respectfully
6871
- 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)) {
6871
+ 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)) {
6872
6872
  levelsSkipped.push(i);
6873
6873
  return 0; // continue
6874
6874
  }
@@ -21020,7 +21020,7 @@
21020
21020
  * Get the video-dev/hls.js package version.
21021
21021
  */
21022
21022
  function get() {
21023
- return "1.5.2";
21023
+ return "1.5.3";
21024
21024
  }
21025
21025
  }, {
21026
21026
  key: "Events",