hls.js 1.5.2-0.canary.9940 → 1.5.2-0.canary.9941
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
@@ -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.9941"}`);
|
435
435
|
} catch (e) {
|
436
436
|
/* log fn threw an exception. All logger methods are no-ops. */
|
437
437
|
return createLogger();
|
@@ -6689,7 +6689,7 @@ class AbrController extends Logger {
|
|
6689
6689
|
const ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
6690
6690
|
const levelsSkipped = [];
|
6691
6691
|
for (let i = maxAutoLevel; i >= minAutoLevel; i--) {
|
6692
|
-
var _levelInfo$supportedR
|
6692
|
+
var _levelInfo$supportedR;
|
6693
6693
|
const levelInfo = levels[i];
|
6694
6694
|
const upSwitch = i > selectionBaseLevel;
|
6695
6695
|
if (!levelInfo) {
|
@@ -6698,7 +6698,7 @@ class AbrController extends Logger {
|
|
6698
6698
|
|
6699
6699
|
// skip candidates which change codec-family or video-range,
|
6700
6700
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
6701
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
6701
|
+
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)) {
|
6702
6702
|
levelsSkipped.push(i);
|
6703
6703
|
continue;
|
6704
6704
|
}
|
@@ -19792,7 +19792,7 @@ class Hls {
|
|
19792
19792
|
* Get the video-dev/hls.js package version.
|
19793
19793
|
*/
|
19794
19794
|
static get version() {
|
19795
|
-
return "1.5.2-0.canary.
|
19795
|
+
return "1.5.2-0.canary.9941";
|
19796
19796
|
}
|
19797
19797
|
|
19798
19798
|
/**
|