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.
@@ -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.10276"}`);
515
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.9-0.canary.10277"}`);
516
516
  } catch (e) {
517
517
  /* log fn threw an exception. All logger methods are no-ops. */
518
518
  return createLogger();
@@ -15870,14 +15870,12 @@ function parsePMT(data, offset, typeSupported, isSampleAes) {
15870
15870
  case 0xc2: // SAMPLE-AES EC3
15871
15871
  /* falls through */
15872
15872
  case 0x87:
15873
- logger.warn('Unsupported EC-3 in M2TS found');
15874
- break;
15873
+ throw new Error('Unsupported EC-3 in M2TS found');
15875
15874
  case 0x24:
15876
15875
  // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
15877
15876
  {
15878
- logger.warn('Unsupported HEVC in M2TS found');
15877
+ throw new Error('Unsupported HEVC in M2TS found');
15879
15878
  }
15880
- break;
15881
15879
  }
15882
15880
  // move to the next table entry
15883
15881
  // skip past the elementary stream descriptors, if present
@@ -18809,6 +18807,7 @@ class TransmuxerInterface {
18809
18807
  type: ErrorTypes.MEDIA_ERROR,
18810
18808
  details: ErrorDetails.FRAG_PARSING_ERROR,
18811
18809
  chunkMeta,
18810
+ frag: this.frag || undefined,
18812
18811
  fatal: false,
18813
18812
  error,
18814
18813
  err: error,
@@ -20382,7 +20381,7 @@ class Hls {
20382
20381
  * Get the video-dev/hls.js package version.
20383
20382
  */
20384
20383
  static get version() {
20385
- return "1.5.9-0.canary.10276";
20384
+ return "1.5.9-0.canary.10277";
20386
20385
  }
20387
20386
 
20388
20387
  /**