hls.js 1.5.12-0.canary.10363 → 1.5.12-0.canary.10364

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.mjs CHANGED
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
420
420
  // Some browsers don't allow to use bind on console object anyway
421
421
  // fallback to default if needed
422
422
  try {
423
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10363"}`);
423
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10364"}`);
424
424
  } catch (e) {
425
425
  /* log fn threw an exception. All logger methods are no-ops. */
426
426
  return createLogger();
@@ -7857,7 +7857,7 @@ class AbrController extends Logger {
7857
7857
  // skip candidates which change codec-family or video-range,
7858
7858
  // and which decrease or increase frame-rate for up and down-switch respectfully
7859
7859
  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)) {
7860
- if (firstSelection && i !== minStartIndex) {
7860
+ if (!firstSelection || i !== minStartIndex) {
7861
7861
  levelsSkipped.push(i);
7862
7862
  continue;
7863
7863
  }
@@ -29171,7 +29171,7 @@ class Hls {
29171
29171
  * Get the video-dev/hls.js package version.
29172
29172
  */
29173
29173
  static get version() {
29174
- return "1.5.12-0.canary.10363";
29174
+ return "1.5.12-0.canary.10364";
29175
29175
  }
29176
29176
 
29177
29177
  /**