hls.js 1.4.6 → 1.4.7
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 +48 -43
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -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 +5 -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 +52 -49
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/base-stream-controller.ts +4 -0
- package/src/controller/subtitle-stream-controller.ts +21 -20
- package/src/controller/timeline-controller.ts +23 -24
- package/src/utils/webvtt-parser.ts +8 -6
- package/src/utils/xhr-loader.ts +1 -0
package/dist/hls.light.js
CHANGED
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
// Some browsers don't allow to use bind on console object anyway
|
|
509
509
|
// fallback to default if needed
|
|
510
510
|
try {
|
|
511
|
-
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.4.
|
|
511
|
+
exportedLogger.log("Debug logs enabled for \"" + id + "\" in hls.js version " + "1.4.7");
|
|
512
512
|
} catch (e) {
|
|
513
513
|
exportedLogger = fakeLogger;
|
|
514
514
|
}
|
|
@@ -9114,6 +9114,8 @@
|
|
|
9114
9114
|
} else {
|
|
9115
9115
|
logger.warn(data.details + " reached or exceeded max retry (" + retryCount + ")");
|
|
9116
9116
|
}
|
|
9117
|
+
} else if ((errorAction == null ? void 0 : errorAction.action) === NetworkErrorAction.SendAlternateToPenaltyBox) {
|
|
9118
|
+
this.state = State.WAITING_LEVEL;
|
|
9117
9119
|
} else {
|
|
9118
9120
|
this.state = State.ERROR;
|
|
9119
9121
|
}
|
|
@@ -17644,6 +17646,7 @@
|
|
|
17644
17646
|
var stats = this.stats;
|
|
17645
17647
|
stats.loading.first = 0;
|
|
17646
17648
|
stats.loaded = 0;
|
|
17649
|
+
stats.aborted = false;
|
|
17647
17650
|
var xhrSetup = this.xhrSetup;
|
|
17648
17651
|
if (xhrSetup) {
|
|
17649
17652
|
Promise.resolve().then(function () {
|
|
@@ -19228,7 +19231,7 @@
|
|
|
19228
19231
|
* Get the video-dev/hls.js package version.
|
|
19229
19232
|
*/
|
|
19230
19233
|
function get() {
|
|
19231
|
-
return "1.4.
|
|
19234
|
+
return "1.4.7";
|
|
19232
19235
|
}
|
|
19233
19236
|
}, {
|
|
19234
19237
|
key: "Events",
|