hls.js 1.6.0-beta.1.0.canary.10749 → 1.6.0-beta.1.0.canary.10750

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.
@@ -400,7 +400,7 @@ function enableLogs(debugConfig, context, id) {
400
400
  // Some browsers don't allow to use bind on console object anyway
401
401
  // fallback to default if needed
402
402
  try {
403
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10749"}`);
403
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10750"}`);
404
404
  } catch (e) {
405
405
  /* log fn threw an exception. All logger methods are no-ops. */
406
406
  return createLogger();
@@ -10616,7 +10616,7 @@ class CapLevelController {
10616
10616
  /* no-op */
10617
10617
  }
10618
10618
  }
10619
- return pixelRatio;
10619
+ return Math.min(pixelRatio, this.hls.config.maxDevicePixelRatio);
10620
10620
  }
10621
10621
  isLevelAllowed(level) {
10622
10622
  const restrictedLevels = this.restrictedLevels;
@@ -17095,6 +17095,8 @@ const hlsDefaultConfig = _objectSpread2(_objectSpread2({
17095
17095
  // used by cap-level-controller
17096
17096
  ignoreDevicePixelRatio: false,
17097
17097
  // used by cap-level-controller
17098
+ maxDevicePixelRatio: Number.POSITIVE_INFINITY,
17099
+ // used by cap-level-controller
17098
17100
  preferManagedMediaSource: true,
17099
17101
  initialLiveManifestSize: 1,
17100
17102
  // used by stream-controller
@@ -19036,7 +19038,7 @@ class GapController extends Logger {
19036
19038
  }
19037
19039
  }
19038
19040
 
19039
- const version = "1.6.0-beta.1.0.canary.10749";
19041
+ const version = "1.6.0-beta.1.0.canary.10750";
19040
19042
 
19041
19043
  // ensure the worker ends up in the bundle
19042
19044
  // If the worker should not be included this gets aliased to empty.js