hls.js 1.6.0-beta.1.0.canary.10812 → 1.6.0-beta.1.0.canary.10813

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.
@@ -400,7 +400,7 @@ function enableLogs(debugConfig, context, id) {
400
400
  // Some browsers don't allow to use bind on console object anyway
401
401
  // fallback to default if needed
402
402
  try {
403
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10812"}`);
403
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10813"}`);
404
404
  } catch (e) {
405
405
  /* log fn threw an exception. All logger methods are no-ops. */
406
406
  return createLogger();
@@ -19146,7 +19146,7 @@ class GapController extends Logger {
19146
19146
  }
19147
19147
  }
19148
19148
 
19149
- const version = "1.6.0-beta.1.0.canary.10812";
19149
+ const version = "1.6.0-beta.1.0.canary.10813";
19150
19150
 
19151
19151
  // ensure the worker ends up in the bundle
19152
19152
  // If the worker should not be included this gets aliased to empty.js
@@ -21117,6 +21117,7 @@ class PlaylistLoader {
21117
21117
  this.hls = void 0;
21118
21118
  this.loaders = Object.create(null);
21119
21119
  this.variableList = null;
21120
+ this.onManifestLoaded = this.checkAutostartLoad;
21120
21121
  this.hls = hls;
21121
21122
  this.registerListeners();
21122
21123
  }
@@ -21443,11 +21444,6 @@ class PlaylistLoader {
21443
21444
  variableList
21444
21445
  });
21445
21446
  }
21446
- onManifestLoaded(event, data) {
21447
- if (!data.isMediaPlaylist) {
21448
- this.checkAutostartLoad();
21449
- }
21450
- }
21451
21447
  handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
21452
21448
  const hls = this.hls;
21453
21449
  const {
@@ -21472,6 +21468,7 @@ class PlaylistLoader {
21472
21468
  name: '',
21473
21469
  url
21474
21470
  };
21471
+ levelDetails.requestScheduled = stats.loading.start + computeReloadInterval(levelDetails, 0);
21475
21472
  hls.trigger(Events.MANIFEST_LOADED, {
21476
21473
  levels: [singleLevel],
21477
21474
  audioTracks: [],
@@ -21482,8 +21479,7 @@ class PlaylistLoader {
21482
21479
  sessionKeys: null,
21483
21480
  contentSteering: null,
21484
21481
  startTimeOffset: null,
21485
- variableList: null,
21486
- isMediaPlaylist: true
21482
+ variableList: null
21487
21483
  });
21488
21484
  }
21489
21485
 
@@ -21493,9 +21489,6 @@ class PlaylistLoader {
21493
21489
  // extend the context with the new levelDetails property
21494
21490
  context.levelDetails = levelDetails;
21495
21491
  this.handlePlaylistLoaded(levelDetails, response, stats, context, networkDetails, loader);
21496
- if (type === PlaylistContextType.MANIFEST && (!levelDetails.playlistParsingError || !levelDetails.fragments.length && levelDetails.live)) {
21497
- this.checkAutostartLoad();
21498
- }
21499
21492
  }
21500
21493
  handleManifestParsingError(response, context, error, networkDetails, stats) {
21501
21494
  this.hls.trigger(Events.ERROR, {