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.d.mts +1 -0
- package/dist/hls.d.ts +1 -0
- package/dist/hls.js +5 -3
- package/dist/hls.js.d.ts +1 -0
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -3
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +5 -3
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +5 -3
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/config.ts +2 -0
- package/src/controller/cap-level-controller.ts +1 -1
package/dist/hls.light.mjs
CHANGED
@@ -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.
|
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.
|
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
|