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.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.10811");
1031
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10812");
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.10811";
19769
+ var version = "1.6.0-beta.1.0.canary.10812";
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
@@ -22018,7 +22018,11 @@
22018
22018
  startTimeOffset: startTimeOffset,
22019
22019
  variableList: variableList
22020
22020
  });
22021
- this.checkAutostartLoad();
22021
+ };
22022
+ _proto.onManifestLoaded = function onManifestLoaded(event, data) {
22023
+ if (!data.isMediaPlaylist) {
22024
+ this.checkAutostartLoad();
22025
+ }
22022
22026
  };
22023
22027
  _proto.handleTrackOrLevelPlaylist = function handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
22024
22028
  var hls = this.hls;
@@ -22052,7 +22056,8 @@
22052
22056
  sessionKeys: null,
22053
22057
  contentSteering: null,
22054
22058
  startTimeOffset: null,
22055
- variableList: null
22059
+ variableList: null,
22060
+ isMediaPlaylist: true
22056
22061
  });
22057
22062
  }
22058
22063
 
@@ -22451,6 +22456,8 @@
22451
22456
  if (typeof onErrorOut === 'function') {
22452
22457
  this.on(Events.ERROR, onErrorOut, errorController);
22453
22458
  }
22459
+ // Autostart load handler
22460
+ this.on(Events.MANIFEST_LOADED, playListLoader.onManifestLoaded, playListLoader);
22454
22461
  }
22455
22462
  /**
22456
22463
  * Check if the required MediaSource Extensions are available.