hls.js 1.5.14-0.canary.10674 → 1.5.14-0.canary.10675
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.d.mts +1 -1
- package/dist/hls.d.ts +1 -1
- package/dist/hls.js +5 -4
- package/dist/hls.js.d.ts +1 -1
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -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 +5 -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 +5 -4
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/config.ts +4 -1
- package/src/utils/fetch-loader.ts +10 -5
package/dist/hls.light.js
CHANGED
@@ -513,7 +513,7 @@
|
|
513
513
|
// Some browsers don't allow to use bind on console object anyway
|
514
514
|
// fallback to default if needed
|
515
515
|
try {
|
516
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
516
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10675");
|
517
517
|
} catch (e) {
|
518
518
|
/* log fn threw an exception. All logger methods are no-ops. */
|
519
519
|
return createLogger();
|
@@ -15631,7 +15631,7 @@
|
|
15631
15631
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
15632
15632
|
}
|
15633
15633
|
|
15634
|
-
var version = "1.5.14-0.canary.
|
15634
|
+
var version = "1.5.14-0.canary.10675";
|
15635
15635
|
|
15636
15636
|
// ensure the worker ends up in the bundle
|
15637
15637
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -21315,7 +21315,7 @@
|
|
21315
21315
|
}
|
21316
21316
|
var BYTERANGE = /(\d+)-(\d+)\/(\d+)/;
|
21317
21317
|
var FetchLoader = /*#__PURE__*/function () {
|
21318
|
-
function FetchLoader(config
|
21318
|
+
function FetchLoader(config) {
|
21319
21319
|
this.fetchSetup = void 0;
|
21320
21320
|
this.requestTimeout = void 0;
|
21321
21321
|
this.request = null;
|
@@ -21375,7 +21375,8 @@
|
|
21375
21375
|
_this.abortInternal();
|
21376
21376
|
callbacks.onTimeout(stats, context, _this.response);
|
21377
21377
|
}, config.timeout);
|
21378
|
-
|
21378
|
+
var fetchPromise = isPromise(this.request) ? this.request.then(self.fetch) : self.fetch(this.request);
|
21379
|
+
fetchPromise.then(function (response) {
|
21379
21380
|
_this.response = _this.loader = response;
|
21380
21381
|
var first = Math.max(self.performance.now(), stats.loading.start);
|
21381
21382
|
self.clearTimeout(_this.requestTimeout);
|