hls.js 1.5.9-0.canary.10276 → 1.5.9-0.canary.10277

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
@@ -606,7 +606,7 @@
606
606
  // Some browsers don't allow to use bind on console object anyway
607
607
  // fallback to default if needed
608
608
  try {
609
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10276");
609
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10277");
610
610
  } catch (e) {
611
611
  /* log fn threw an exception. All logger methods are no-ops. */
612
612
  return createLogger();
@@ -16206,14 +16206,12 @@
16206
16206
  case 0xc2: // SAMPLE-AES EC3
16207
16207
  /* falls through */
16208
16208
  case 0x87:
16209
- logger.warn('Unsupported EC-3 in M2TS found');
16210
- break;
16209
+ throw new Error('Unsupported EC-3 in M2TS found');
16211
16210
  case 0x24:
16212
16211
  // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
16213
16212
  {
16214
- logger.warn('Unsupported HEVC in M2TS found');
16213
+ throw new Error('Unsupported HEVC in M2TS found');
16215
16214
  }
16216
- break;
16217
16215
  }
16218
16216
  // move to the next table entry
16219
16217
  // skip past the elementary stream descriptors, if present
@@ -19312,6 +19310,7 @@
19312
19310
  type: ErrorTypes.MEDIA_ERROR,
19313
19311
  details: ErrorDetails.FRAG_PARSING_ERROR,
19314
19312
  chunkMeta: chunkMeta,
19313
+ frag: this.frag || undefined,
19315
19314
  fatal: false,
19316
19315
  error: error,
19317
19316
  err: error,
@@ -21721,7 +21720,7 @@
21721
21720
  * Get the video-dev/hls.js package version.
21722
21721
  */
21723
21722
  function get() {
21724
- return "1.5.9-0.canary.10276";
21723
+ return "1.5.9-0.canary.10277";
21725
21724
  }
21726
21725
  }, {
21727
21726
  key: "Events",