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.js
CHANGED
@@ -521,7 +521,7 @@
|
|
521
521
|
// Some browsers don't allow to use bind on console object anyway
|
522
522
|
// fallback to default if needed
|
523
523
|
try {
|
524
|
-
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.
|
524
|
+
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.3");
|
525
525
|
} catch (e) {
|
526
526
|
exportedLogger = fakeLogger;
|
527
527
|
}
|
@@ -6859,7 +6859,7 @@
|
|
6859
6859
|
var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
6860
6860
|
var levelsSkipped = [];
|
6861
6861
|
var _loop = function _loop() {
|
6862
|
-
var _levelInfo$supportedR
|
6862
|
+
var _levelInfo$supportedR;
|
6863
6863
|
var levelInfo = levels[i];
|
6864
6864
|
var upSwitch = i > selectionBaseLevel;
|
6865
6865
|
if (!levelInfo) {
|
@@ -6868,7 +6868,7 @@
|
|
6868
6868
|
|
6869
6869
|
// skip candidates which change codec-family or video-range,
|
6870
6870
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
6871
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
6871
|
+
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)) {
|
6872
6872
|
levelsSkipped.push(i);
|
6873
6873
|
return 0; // continue
|
6874
6874
|
}
|
@@ -21020,7 +21020,7 @@
|
|
21020
21020
|
* Get the video-dev/hls.js package version.
|
21021
21021
|
*/
|
21022
21022
|
function get() {
|
21023
|
-
return "1.5.
|
21023
|
+
return "1.5.3";
|
21024
21024
|
}
|
21025
21025
|
}, {
|
21026
21026
|
key: "Events",
|