hls.js 1.5.9-0.canary.10286 → 1.5.9-0.canary.10294

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.
@@ -512,7 +512,7 @@ function enableLogs(debugConfig, context, id) {
512
512
  // Some browsers don't allow to use bind on console object anyway
513
513
  // fallback to default if needed
514
514
  try {
515
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.9-0.canary.10286"}`);
515
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.9-0.canary.10294"}`);
516
516
  } catch (e) {
517
517
  /* log fn threw an exception. All logger methods are no-ops. */
518
518
  return createLogger();
@@ -1040,8 +1040,10 @@ function getAesModeFromFullSegmentMethod(method) {
1040
1040
 
1041
1041
  // This file is inserted as a shim for modules which we do not want to include into the distro.
1042
1042
  // This replacement is done in the "alias" plugin of the rollup config.
1043
- var empty = undefined;
1044
- var HevcVideoParser = /*@__PURE__*/getDefaultExportFromCjs(empty);
1043
+ // Use a ES dedicated file as Rollup assigns an object in the output
1044
+ // For example: "var KeySystemFormats = emptyEs.KeySystemFormats;"
1045
+ var emptyEs = {};
1046
+ var HevcVideoParser = /*@__PURE__*/getDefaultExportFromCjs(emptyEs);
1045
1047
 
1046
1048
  function sliceUint8(array, start, end) {
1047
1049
  // @ts-expect-error This polyfills IE11 usage of Uint8Array slice.
@@ -20381,7 +20383,7 @@ class Hls {
20381
20383
  * Get the video-dev/hls.js package version.
20382
20384
  */
20383
20385
  static get version() {
20384
- return "1.5.9-0.canary.10286";
20386
+ return "1.5.9-0.canary.10294";
20385
20387
  }
20386
20388
 
20387
20389
  /**
@@ -21204,9 +21206,9 @@ class Hls {
21204
21206
  }
21205
21207
  Hls.defaultConfig = void 0;
21206
21208
 
21207
- var KeySystemFormats = empty.KeySystemFormats;
21208
- var KeySystems = empty.KeySystems;
21209
- var SubtitleStreamController = empty.SubtitleStreamController;
21210
- var TimelineController = empty.TimelineController;
21209
+ var KeySystemFormats = emptyEs.KeySystemFormats;
21210
+ var KeySystems = emptyEs.KeySystems;
21211
+ var SubtitleStreamController = emptyEs.SubtitleStreamController;
21212
+ var TimelineController = emptyEs.TimelineController;
21211
21213
  export { AbrController, AttrList, HevcVideoParser as AudioStreamController, HevcVideoParser as AudioTrackController, BasePlaylistController, BaseSegment, BaseStreamController, BufferController, HevcVideoParser as CMCDController, CapLevelController, ChunkMetadata, ContentSteeringController, DateRange, HevcVideoParser as EMEController, ErrorActionFlags, ErrorController, ErrorDetails, ErrorTypes, Events, FPSController, Fragment, Hls, HlsSkip, HlsUrlParameters, KeySystemFormats, KeySystems, LevelDetails, LevelKey, LoadStats, MetadataSchema, NetworkErrorAction, Part, PlaylistLevelType, SubtitleStreamController, HevcVideoParser as SubtitleTrackController, TimelineController, Hls as default, getMediaSource, isMSESupported, isSupported };
21212
21214
  //# sourceMappingURL=hls.light.mjs.map