hls.js 1.6.6-0.canary.11351 → 1.6.6-0.canary.11352
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 +7 -7
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +7 -7
- 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 +9 -7
- 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 +9 -7
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/buffer-controller.ts +7 -5
package/dist/hls.mjs
CHANGED
@@ -523,7 +523,7 @@ function enableLogs(debugConfig, context, id) {
|
|
523
523
|
// Some browsers don't allow to use bind on console object anyway
|
524
524
|
// fallback to default if needed
|
525
525
|
try {
|
526
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.6-0.canary.
|
526
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.6-0.canary.11352"}`);
|
527
527
|
} catch (e) {
|
528
528
|
/* log fn threw an exception. All logger methods are no-ops. */
|
529
529
|
return createLogger();
|
@@ -10218,7 +10218,7 @@ function requireEventemitter3 () {
|
|
10218
10218
|
var eventemitter3Exports = requireEventemitter3();
|
10219
10219
|
var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
|
10220
10220
|
|
10221
|
-
const version = "1.6.6-0.canary.
|
10221
|
+
const version = "1.6.6-0.canary.11352";
|
10222
10222
|
|
10223
10223
|
// ensure the worker ends up in the bundle
|
10224
10224
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -18972,11 +18972,13 @@ transfer tracks: ${stringify(transferredTracks, (key, value) => key === 'initSeg
|
|
18972
18972
|
this.updateDuration();
|
18973
18973
|
}
|
18974
18974
|
updateDuration() {
|
18975
|
-
|
18976
|
-
|
18977
|
-
|
18978
|
-
|
18979
|
-
|
18975
|
+
this.blockUntilOpen(() => {
|
18976
|
+
const durationAndRange = this.getDurationAndRange();
|
18977
|
+
if (!durationAndRange) {
|
18978
|
+
return;
|
18979
|
+
}
|
18980
|
+
this.updateMediaSource(durationAndRange);
|
18981
|
+
});
|
18980
18982
|
}
|
18981
18983
|
onError(event, data) {
|
18982
18984
|
if (data.details === ErrorDetails.BUFFER_APPEND_ERROR && data.frag) {
|