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.js
CHANGED
@@ -552,7 +552,7 @@
|
|
552
552
|
// Some browsers don't allow to use bind on console object anyway
|
553
553
|
// fallback to default if needed
|
554
554
|
try {
|
555
|
-
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.
|
555
|
+
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.5.3");
|
556
556
|
} catch (e) {
|
557
557
|
exportedLogger = fakeLogger;
|
558
558
|
}
|
@@ -7613,7 +7613,7 @@
|
|
7613
7613
|
var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
7614
7614
|
var levelsSkipped = [];
|
7615
7615
|
var _loop = function _loop() {
|
7616
|
-
var _levelInfo$supportedR
|
7616
|
+
var _levelInfo$supportedR;
|
7617
7617
|
var levelInfo = levels[i];
|
7618
7618
|
var upSwitch = i > selectionBaseLevel;
|
7619
7619
|
if (!levelInfo) {
|
@@ -7644,7 +7644,7 @@
|
|
7644
7644
|
|
7645
7645
|
// skip candidates which change codec-family or video-range,
|
7646
7646
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
7647
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
7647
|
+
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)) {
|
7648
7648
|
levelsSkipped.push(i);
|
7649
7649
|
return 0; // continue
|
7650
7650
|
}
|
@@ -29166,7 +29166,7 @@
|
|
29166
29166
|
* Get the video-dev/hls.js package version.
|
29167
29167
|
*/
|
29168
29168
|
function get() {
|
29169
|
-
return "1.5.
|
29169
|
+
return "1.5.3";
|
29170
29170
|
}
|
29171
29171
|
}, {
|
29172
29172
|
key: "Events",
|