hls.js 1.5.2 → 1.5.3
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 +1 -1
- package/src/controller/abr-controller.ts +2 -1
package/dist/hls.light.mjs
CHANGED
@@ -411,7 +411,7 @@ function enableLogs(debugConfig, id) {
|
|
411
411
|
// Some browsers don't allow to use bind on console object anyway
|
412
412
|
// fallback to default if needed
|
413
413
|
try {
|
414
|
-
exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.5.
|
414
|
+
exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.5.3"}`);
|
415
415
|
} catch (e) {
|
416
416
|
exportedLogger = fakeLogger;
|
417
417
|
}
|
@@ -6642,7 +6642,7 @@ class AbrController {
|
|
6642
6642
|
const ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
6643
6643
|
const levelsSkipped = [];
|
6644
6644
|
for (let i = maxAutoLevel; i >= minAutoLevel; i--) {
|
6645
|
-
var _levelInfo$supportedR
|
6645
|
+
var _levelInfo$supportedR;
|
6646
6646
|
const levelInfo = levels[i];
|
6647
6647
|
const upSwitch = i > selectionBaseLevel;
|
6648
6648
|
if (!levelInfo) {
|
@@ -6651,7 +6651,7 @@ class AbrController {
|
|
6651
6651
|
|
6652
6652
|
// skip candidates which change codec-family or video-range,
|
6653
6653
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
6654
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
6654
|
+
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)) {
|
6655
6655
|
levelsSkipped.push(i);
|
6656
6656
|
continue;
|
6657
6657
|
}
|
@@ -19685,7 +19685,7 @@ class Hls {
|
|
19685
19685
|
* Get the video-dev/hls.js package version.
|
19686
19686
|
*/
|
19687
19687
|
static get version() {
|
19688
|
-
return "1.5.
|
19688
|
+
return "1.5.3";
|
19689
19689
|
}
|
19690
19690
|
|
19691
19691
|
/**
|