hls.js 1.5.14-0.canary.10675 → 1.5.14-0.canary.10676
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 +6 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +6 -2
- 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 +6 -2
- 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 +6 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/stream-controller.ts +4 -0
package/dist/hls.js
CHANGED
@@ -542,7 +542,7 @@
|
|
542
542
|
// Some browsers don't allow to use bind on console object anyway
|
543
543
|
// fallback to default if needed
|
544
544
|
try {
|
545
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
545
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10676");
|
546
546
|
} catch (e) {
|
547
547
|
/* log fn threw an exception. All logger methods are no-ops. */
|
548
548
|
return createLogger();
|
@@ -17084,7 +17084,7 @@
|
|
17084
17084
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
17085
17085
|
}
|
17086
17086
|
|
17087
|
-
var version = "1.5.14-0.canary.
|
17087
|
+
var version = "1.5.14-0.canary.10676";
|
17088
17088
|
|
17089
17089
|
// ensure the worker ends up in the bundle
|
17090
17090
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -18354,6 +18354,10 @@
|
|
18354
18354
|
return;
|
18355
18355
|
}
|
18356
18356
|
var currentLevel = levels[frag.level];
|
18357
|
+
if (!currentLevel) {
|
18358
|
+
this.warn("Level " + frag.level + " not found on progress");
|
18359
|
+
return;
|
18360
|
+
}
|
18357
18361
|
var details = currentLevel.details;
|
18358
18362
|
if (!details) {
|
18359
18363
|
this.warn("Dropping fragment " + frag.sn + " of level " + frag.level + " after level details were reset");
|