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.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.11351"}`);
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.11351";
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
- const durationAndRange = this.getDurationAndRange();
18976
- if (!durationAndRange) {
18977
- return;
18978
- }
18979
- this.blockUntilOpen(() => this.updateMediaSource(durationAndRange));
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) {