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.js CHANGED
@@ -552,7 +552,7 @@
552
552
  // Some browsers don't allow to use bind on console object anyway
553
553
  // fallback to default if needed
554
554
  try {
555
- exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.2");
555
+ exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.3");
556
556
  } catch (e) {
557
557
  exportedLogger = fakeLogger;
558
558
  }
@@ -7613,7 +7613,7 @@
7613
7613
  var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
7614
7614
  var levelsSkipped = [];
7615
7615
  var _loop = function _loop() {
7616
- var _levelInfo$supportedR, _levelInfo$supportedR2;
7616
+ var _levelInfo$supportedR;
7617
7617
  var levelInfo = levels[i];
7618
7618
  var upSwitch = i > selectionBaseLevel;
7619
7619
  if (!levelInfo) {
@@ -7644,7 +7644,7 @@
7644
7644
 
7645
7645
  // skip candidates which change codec-family or video-range,
7646
7646
  // and which decrease or increase frame-rate for up and down-switch respectfully
7647
- 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)) {
7647
+ 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)) {
7648
7648
  levelsSkipped.push(i);
7649
7649
  return 0; // continue
7650
7650
  }
@@ -29166,7 +29166,7 @@
29166
29166
  * Get the video-dev/hls.js package version.
29167
29167
  */
29168
29168
  function get() {
29169
- return "1.5.2";
29169
+ return "1.5.3";
29170
29170
  }
29171
29171
  }, {
29172
29172
  key: "Events",