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.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
|
}
|
@@ -7339,7 +7339,7 @@ class AbrController {
|
|
7339
7339
|
const ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
7340
7340
|
const levelsSkipped = [];
|
7341
7341
|
for (let i = maxAutoLevel; i >= minAutoLevel; i--) {
|
7342
|
-
var _levelInfo$supportedR
|
7342
|
+
var _levelInfo$supportedR;
|
7343
7343
|
const levelInfo = levels[i];
|
7344
7344
|
const upSwitch = i > selectionBaseLevel;
|
7345
7345
|
if (!levelInfo) {
|
@@ -7370,7 +7370,7 @@ class AbrController {
|
|
7370
7370
|
|
7371
7371
|
// skip candidates which change codec-family or video-range,
|
7372
7372
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
7373
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
7373
|
+
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)) {
|
7374
7374
|
levelsSkipped.push(i);
|
7375
7375
|
continue;
|
7376
7376
|
}
|
@@ -27682,7 +27682,7 @@ class Hls {
|
|
27682
27682
|
* Get the video-dev/hls.js package version.
|
27683
27683
|
*/
|
27684
27684
|
static get version() {
|
27685
|
-
return "1.5.
|
27685
|
+
return "1.5.3";
|
27686
27686
|
}
|
27687
27687
|
|
27688
27688
|
/**
|