hls.js 1.5.14-0.canary.10501 → 1.5.14-0.canary.10505
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-demo.js.map +1 -1
- package/dist/hls.js +14 -14
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +8 -8
- 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 +2 -2
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +2 -2
- package/dist/hls.worker.js +1 -1
- package/package.json +3 -3
package/dist/hls.light.js
CHANGED
@@ -494,7 +494,7 @@
|
|
494
494
|
// Some browsers don't allow to use bind on console object anyway
|
495
495
|
// fallback to default if needed
|
496
496
|
try {
|
497
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
497
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10505");
|
498
498
|
} catch (e) {
|
499
499
|
/* log fn threw an exception. All logger methods are no-ops. */
|
500
500
|
return createLogger();
|
@@ -9938,7 +9938,7 @@
|
|
9938
9938
|
}
|
9939
9939
|
var chunkCache = new ChunkCache();
|
9940
9940
|
var reader = response.body.getReader();
|
9941
|
-
var
|
9941
|
+
var _pump = function pump() {
|
9942
9942
|
return reader.read().then(function (data) {
|
9943
9943
|
if (data.done) {
|
9944
9944
|
if (chunkCache.dataLength) {
|
@@ -9962,13 +9962,13 @@
|
|
9962
9962
|
// just emit the progress event
|
9963
9963
|
onProgress(stats, context, chunk, response);
|
9964
9964
|
}
|
9965
|
-
return
|
9965
|
+
return _pump();
|
9966
9966
|
}).catch(function () {
|
9967
9967
|
/* aborted */
|
9968
9968
|
return Promise.reject();
|
9969
9969
|
});
|
9970
9970
|
};
|
9971
|
-
return
|
9971
|
+
return _pump();
|
9972
9972
|
};
|
9973
9973
|
return FetchLoader;
|
9974
9974
|
}();
|
@@ -13396,14 +13396,14 @@
|
|
13396
13396
|
var _level$details;
|
13397
13397
|
var partsLoaded = [];
|
13398
13398
|
var initialPartList = (_level$details = level.details) == null ? void 0 : _level$details.partList;
|
13399
|
-
var
|
13399
|
+
var _loadPart = function loadPart(part) {
|
13400
13400
|
_this6.fragmentLoader.loadPart(frag, part, progressCallback).then(function (partLoadedData) {
|
13401
13401
|
partsLoaded[part.index] = partLoadedData;
|
13402
13402
|
var loadedPart = partLoadedData.part;
|
13403
13403
|
_this6.hls.trigger(Events.FRAG_LOADED, partLoadedData);
|
13404
13404
|
var nextPart = getPartWith(level.details, frag.sn, part.index + 1) || findPart(initialPartList, frag.sn, part.index + 1);
|
13405
13405
|
if (nextPart) {
|
13406
|
-
|
13406
|
+
_loadPart(nextPart);
|
13407
13407
|
} else {
|
13408
13408
|
return resolve({
|
13409
13409
|
frag: frag,
|
@@ -13413,7 +13413,7 @@
|
|
13413
13413
|
}
|
13414
13414
|
}).catch(reject);
|
13415
13415
|
};
|
13416
|
-
|
13416
|
+
_loadPart(fromPart);
|
13417
13417
|
});
|
13418
13418
|
};
|
13419
13419
|
_proto.handleFragLoadError = function handleFragLoadError(error) {
|
@@ -19336,7 +19336,7 @@
|
|
19336
19336
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
19337
19337
|
}
|
19338
19338
|
|
19339
|
-
var version = "1.5.14-0.canary.
|
19339
|
+
var version = "1.5.14-0.canary.10505";
|
19340
19340
|
|
19341
19341
|
// ensure the worker ends up in the bundle
|
19342
19342
|
// If the worker should not be included this gets aliased to empty.js
|