hls.js 1.5.2-0.canary.9940 → 1.5.2-0.canary.9943
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 +4 -4
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +3 -3
- package/src/controller/abr-controller.ts +2 -1
package/dist/hls.mjs
CHANGED
@@ -431,7 +431,7 @@ function enableLogs(debugConfig, context, id) {
|
|
431
431
|
// Some browsers don't allow to use bind on console object anyway
|
432
432
|
// fallback to default if needed
|
433
433
|
try {
|
434
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.2-0.canary.
|
434
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.2-0.canary.9943"}`);
|
435
435
|
} catch (e) {
|
436
436
|
/* log fn threw an exception. All logger methods are no-ops. */
|
437
437
|
return createLogger();
|
@@ -7386,7 +7386,7 @@ class AbrController extends Logger {
|
|
7386
7386
|
const ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
7387
7387
|
const levelsSkipped = [];
|
7388
7388
|
for (let i = maxAutoLevel; i >= minAutoLevel; i--) {
|
7389
|
-
var _levelInfo$supportedR
|
7389
|
+
var _levelInfo$supportedR;
|
7390
7390
|
const levelInfo = levels[i];
|
7391
7391
|
const upSwitch = i > selectionBaseLevel;
|
7392
7392
|
if (!levelInfo) {
|
@@ -7417,7 +7417,7 @@ class AbrController extends Logger {
|
|
7417
7417
|
|
7418
7418
|
// skip candidates which change codec-family or video-range,
|
7419
7419
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
7420
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
7420
|
+
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)) {
|
7421
7421
|
levelsSkipped.push(i);
|
7422
7422
|
continue;
|
7423
7423
|
}
|
@@ -27787,7 +27787,7 @@ class Hls {
|
|
27787
27787
|
* Get the video-dev/hls.js package version.
|
27788
27788
|
*/
|
27789
27789
|
static get version() {
|
27790
|
-
return "1.5.2-0.canary.
|
27790
|
+
return "1.5.2-0.canary.9943";
|
27791
27791
|
}
|
27792
27792
|
|
27793
27793
|
/**
|