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

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.d.mts CHANGED
@@ -2853,6 +2853,7 @@ export declare interface ManifestLoadedData {
2853
2853
  subtitles?: MediaPlaylist[];
2854
2854
  url: string;
2855
2855
  variableList: VariableMap | null;
2856
+ isMediaPlaylist?: boolean;
2856
2857
  }
2857
2858
 
2858
2859
  export declare interface ManifestLoadingData {
package/dist/hls.d.ts CHANGED
@@ -2853,6 +2853,7 @@ export declare interface ManifestLoadedData {
2853
2853
  subtitles?: MediaPlaylist[];
2854
2854
  url: string;
2855
2855
  variableList: VariableMap | null;
2856
+ isMediaPlaylist?: boolean;
2856
2857
  }
2857
2858
 
2858
2859
  export declare interface ManifestLoadingData {
package/dist/hls.js CHANGED
@@ -1057,7 +1057,7 @@
1057
1057
  // Some browsers don't allow to use bind on console object anyway
1058
1058
  // fallback to default if needed
1059
1059
  try {
1060
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10811");
1060
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10812");
1061
1061
  } catch (e) {
1062
1062
  /* log fn threw an exception. All logger methods are no-ops. */
1063
1063
  return createLogger();
@@ -16296,7 +16296,7 @@
16296
16296
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16297
16297
  }
16298
16298
 
16299
- var version = "1.6.0-beta.1.0.canary.10811";
16299
+ var version = "1.6.0-beta.1.0.canary.10812";
16300
16300
 
16301
16301
  // ensure the worker ends up in the bundle
16302
16302
  // If the worker should not be included this gets aliased to empty.js
@@ -33881,7 +33881,11 @@
33881
33881
  startTimeOffset: startTimeOffset,
33882
33882
  variableList: variableList
33883
33883
  });
33884
- this.checkAutostartLoad();
33884
+ };
33885
+ _proto.onManifestLoaded = function onManifestLoaded(event, data) {
33886
+ if (!data.isMediaPlaylist) {
33887
+ this.checkAutostartLoad();
33888
+ }
33885
33889
  };
33886
33890
  _proto.handleTrackOrLevelPlaylist = function handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
33887
33891
  var hls = this.hls;
@@ -33915,7 +33919,8 @@
33915
33919
  sessionKeys: null,
33916
33920
  contentSteering: null,
33917
33921
  startTimeOffset: null,
33918
- variableList: null
33922
+ variableList: null,
33923
+ isMediaPlaylist: true
33919
33924
  });
33920
33925
  }
33921
33926
 
@@ -34212,6 +34217,8 @@
34212
34217
  if (typeof onErrorOut === 'function') {
34213
34218
  this.on(Events.ERROR, onErrorOut, errorController);
34214
34219
  }
34220
+ // Autostart load handler
34221
+ this.on(Events.MANIFEST_LOADED, playListLoader.onManifestLoaded, playListLoader);
34215
34222
  }
34216
34223
  /**
34217
34224
  * Check if the required MediaSource Extensions are available.
package/dist/hls.js.d.ts CHANGED
@@ -2853,6 +2853,7 @@ export declare interface ManifestLoadedData {
2853
2853
  subtitles?: MediaPlaylist[];
2854
2854
  url: string;
2855
2855
  variableList: VariableMap | null;
2856
+ isMediaPlaylist?: boolean;
2856
2857
  }
2857
2858
 
2858
2859
  export declare interface ManifestLoadingData {