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.
package/dist/hls.light.js CHANGED
@@ -1028,7 +1028,7 @@
1028
1028
  // Some browsers don't allow to use bind on console object anyway
1029
1029
  // fallback to default if needed
1030
1030
  try {
1031
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10812");
1031
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10813");
1032
1032
  } catch (e) {
1033
1033
  /* log fn threw an exception. All logger methods are no-ops. */
1034
1034
  return createLogger();
@@ -19766,7 +19766,7 @@
19766
19766
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
19767
19767
  }
19768
19768
 
19769
- var version = "1.6.0-beta.1.0.canary.10812";
19769
+ var version = "1.6.0-beta.1.0.canary.10813";
19770
19770
 
19771
19771
  // ensure the worker ends up in the bundle
19772
19772
  // If the worker should not be included this gets aliased to empty.js
@@ -21703,6 +21703,7 @@
21703
21703
  this.hls = void 0;
21704
21704
  this.loaders = Object.create(null);
21705
21705
  this.variableList = null;
21706
+ this.onManifestLoaded = this.checkAutostartLoad;
21706
21707
  this.hls = hls;
21707
21708
  this.registerListeners();
21708
21709
  }
@@ -22019,11 +22020,6 @@
22019
22020
  variableList: variableList
22020
22021
  });
22021
22022
  };
22022
- _proto.onManifestLoaded = function onManifestLoaded(event, data) {
22023
- if (!data.isMediaPlaylist) {
22024
- this.checkAutostartLoad();
22025
- }
22026
- };
22027
22023
  _proto.handleTrackOrLevelPlaylist = function handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
22028
22024
  var hls = this.hls;
22029
22025
  var id = context.id,
@@ -22046,6 +22042,7 @@
22046
22042
  name: '',
22047
22043
  url: url
22048
22044
  };
22045
+ levelDetails.requestScheduled = stats.loading.start + computeReloadInterval(levelDetails, 0);
22049
22046
  hls.trigger(Events.MANIFEST_LOADED, {
22050
22047
  levels: [singleLevel],
22051
22048
  audioTracks: [],
@@ -22056,8 +22053,7 @@
22056
22053
  sessionKeys: null,
22057
22054
  contentSteering: null,
22058
22055
  startTimeOffset: null,
22059
- variableList: null,
22060
- isMediaPlaylist: true
22056
+ variableList: null
22061
22057
  });
22062
22058
  }
22063
22059
 
@@ -22067,9 +22063,6 @@
22067
22063
  // extend the context with the new levelDetails property
22068
22064
  context.levelDetails = levelDetails;
22069
22065
  this.handlePlaylistLoaded(levelDetails, response, stats, context, networkDetails, loader);
22070
- if (type === PlaylistContextType.MANIFEST && (!levelDetails.playlistParsingError || !levelDetails.fragments.length && levelDetails.live)) {
22071
- this.checkAutostartLoad();
22072
- }
22073
22066
  };
22074
22067
  _proto.handleManifestParsingError = function handleManifestParsingError(response, context, error, networkDetails, stats) {
22075
22068
  this.hls.trigger(Events.ERROR, {