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/package.json CHANGED
@@ -130,5 +130,5 @@
130
130
  "url-toolkit": "2.2.5",
131
131
  "wrangler": "3.57.1"
132
132
  },
133
- "version": "1.5.9-0.canary.10276"
133
+ "version": "1.5.9-0.canary.10277"
134
134
  }
@@ -329,6 +329,7 @@ export default class TransmuxerInterface {
329
329
  type: ErrorTypes.MEDIA_ERROR,
330
330
  details: ErrorDetails.FRAG_PARSING_ERROR,
331
331
  chunkMeta,
332
+ frag: this.frag || undefined,
332
333
  fatal: false,
333
334
  error,
334
335
  err: error,
@@ -897,8 +897,7 @@ function parsePMT(
897
897
  case 0xc2: // SAMPLE-AES EC3
898
898
  /* falls through */
899
899
  case 0x87:
900
- logger.warn('Unsupported EC-3 in M2TS found');
901
- break;
900
+ throw new Error('Unsupported EC-3 in M2TS found');
902
901
 
903
902
  case 0x24: // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
904
903
  if (__USE_M2TS_ADVANCED_CODECS__) {
@@ -908,7 +907,7 @@ function parsePMT(
908
907
  logger.log('HEVC in M2TS found');
909
908
  }
910
909
  } else {
911
- logger.warn('Unsupported HEVC in M2TS found');
910
+ throw new Error('Unsupported HEVC in M2TS found');
912
911
  }
913
912
  break;
914
913