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.js
CHANGED
@@ -567,7 +567,7 @@
|
|
567
567
|
// Some browsers don't allow to use bind on console object anyway
|
568
568
|
// fallback to default if needed
|
569
569
|
try {
|
570
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.2-0.canary.
|
570
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.2-0.canary.9941");
|
571
571
|
} catch (e) {
|
572
572
|
/* log fn threw an exception. All logger methods are no-ops. */
|
573
573
|
return createLogger();
|
@@ -7664,7 +7664,7 @@
|
|
7664
7664
|
var ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
|
7665
7665
|
var levelsSkipped = [];
|
7666
7666
|
var _loop = function _loop() {
|
7667
|
-
var _levelInfo$supportedR
|
7667
|
+
var _levelInfo$supportedR;
|
7668
7668
|
var levelInfo = levels[i];
|
7669
7669
|
var upSwitch = i > selectionBaseLevel;
|
7670
7670
|
if (!levelInfo) {
|
@@ -7695,7 +7695,7 @@
|
|
7695
7695
|
|
7696
7696
|
// skip candidates which change codec-family or video-range,
|
7697
7697
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
7698
|
-
if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate ||
|
7698
|
+
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)) {
|
7699
7699
|
levelsSkipped.push(i);
|
7700
7700
|
return 0; // continue
|
7701
7701
|
}
|
@@ -29292,7 +29292,7 @@
|
|
29292
29292
|
* Get the video-dev/hls.js package version.
|
29293
29293
|
*/
|
29294
29294
|
function get() {
|
29295
|
-
return "1.5.2-0.canary.
|
29295
|
+
return "1.5.2-0.canary.9941";
|
29296
29296
|
}
|
29297
29297
|
}, {
|
29298
29298
|
key: "Events",
|