hls.js 1.5.12-0.canary.10363 → 1.5.12-0.canary.10366
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 +10 -9
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +3 -3
- 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 +3 -3
- 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 +11 -8
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/controller/abr-controller.ts +1 -1
package/dist/hls.light.mjs
CHANGED
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
|
|
420
420
|
// Some browsers don't allow to use bind on console object anyway
|
421
421
|
// fallback to default if needed
|
422
422
|
try {
|
423
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.
|
423
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10366"}`);
|
424
424
|
} catch (e) {
|
425
425
|
/* log fn threw an exception. All logger methods are no-ops. */
|
426
426
|
return createLogger();
|
@@ -7057,7 +7057,7 @@ class AbrController extends Logger {
|
|
7057
7057
|
// skip candidates which change codec-family or video-range,
|
7058
7058
|
// and which decrease or increase frame-rate for up and down-switch respectfully
|
7059
7059
|
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)) {
|
7060
|
-
if (firstSelection
|
7060
|
+
if (!firstSelection || i !== minStartIndex) {
|
7061
7061
|
levelsSkipped.push(i);
|
7062
7062
|
continue;
|
7063
7063
|
}
|
@@ -20578,7 +20578,7 @@ class Hls {
|
|
20578
20578
|
* Get the video-dev/hls.js package version.
|
20579
20579
|
*/
|
20580
20580
|
static get version() {
|
20581
|
-
return "1.5.12-0.canary.
|
20581
|
+
return "1.5.12-0.canary.10366";
|
20582
20582
|
}
|
20583
20583
|
|
20584
20584
|
/**
|