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.
package/dist/hls.light.js CHANGED
@@ -1028,7 +1028,7 @@
1028
1028
  // Some browsers don't allow to use bind on console object anyway
1029
1029
  // fallback to default if needed
1030
1030
  try {
1031
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10749");
1031
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10750");
1032
1032
  } catch (e) {
1033
1033
  /* log fn threw an exception. All logger methods are no-ops. */
1034
1034
  return createLogger();
@@ -5425,7 +5425,7 @@
5425
5425
  /* no-op */
5426
5426
  }
5427
5427
  }
5428
- return pixelRatio;
5428
+ return Math.min(pixelRatio, this.hls.config.maxDevicePixelRatio);
5429
5429
  }
5430
5430
  }]);
5431
5431
  }();
@@ -14810,6 +14810,8 @@
14810
14810
  // used by cap-level-controller
14811
14811
  ignoreDevicePixelRatio: false,
14812
14812
  // used by cap-level-controller
14813
+ maxDevicePixelRatio: Number.POSITIVE_INFINITY,
14814
+ // used by cap-level-controller
14813
14815
  preferManagedMediaSource: true,
14814
14816
  initialLiveManifestSize: 1,
14815
14817
  // used by stream-controller
@@ -19642,7 +19644,7 @@
19642
19644
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
19643
19645
  }
19644
19646
 
19645
- var version = "1.6.0-beta.1.0.canary.10749";
19647
+ var version = "1.6.0-beta.1.0.canary.10750";
19646
19648
 
19647
19649
  // ensure the worker ends up in the bundle
19648
19650
  // If the worker should not be included this gets aliased to empty.js