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.
@@ -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();
@@ -10393,11 +10393,13 @@ transfer tracks: ${stringify(transferredTracks, (key, value) => key === 'initSeg
10393
10393
  this.updateDuration();
10394
10394
  }
10395
10395
  updateDuration() {
10396
- const durationAndRange = this.getDurationAndRange();
10397
- if (!durationAndRange) {
10398
- return;
10399
- }
10400
- this.blockUntilOpen(() => this.updateMediaSource(durationAndRange));
10396
+ this.blockUntilOpen(() => {
10397
+ const durationAndRange = this.getDurationAndRange();
10398
+ if (!durationAndRange) {
10399
+ return;
10400
+ }
10401
+ this.updateMediaSource(durationAndRange);
10402
+ });
10401
10403
  }
10402
10404
  onError(event, data) {
10403
10405
  if (data.details === ErrorDetails.BUFFER_APPEND_ERROR && data.frag) {
@@ -19887,7 +19889,7 @@ function assignTrackIdsByGroup(tracks) {
19887
19889
  });
19888
19890
  }
19889
19891
 
19890
- const version = "1.6.6-0.canary.11351";
19892
+ const version = "1.6.6-0.canary.11352";
19891
19893
 
19892
19894
  // ensure the worker ends up in the bundle
19893
19895
  // If the worker should not be included this gets aliased to empty.js