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.mjs CHANGED
@@ -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();
@@ -13831,8 +13831,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes) {
13831
13831
  case 0xc2: // SAMPLE-AES EC3
13832
13832
  /* falls through */
13833
13833
  case 0x87:
13834
- logger.warn('Unsupported EC-3 in M2TS found');
13835
- break;
13834
+ throw new Error('Unsupported EC-3 in M2TS found');
13836
13835
  case 0x24:
13837
13836
  // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
13838
13837
  {
@@ -16783,6 +16782,7 @@ class TransmuxerInterface {
16783
16782
  type: ErrorTypes.MEDIA_ERROR,
16784
16783
  details: ErrorDetails.FRAG_PARSING_ERROR,
16785
16784
  chunkMeta,
16785
+ frag: this.frag || undefined,
16786
16786
  fatal: false,
16787
16787
  error,
16788
16788
  err: error,
@@ -29016,7 +29016,7 @@ class Hls {
29016
29016
  * Get the video-dev/hls.js package version.
29017
29017
  */
29018
29018
  static get version() {
29019
- return "1.5.9-0.canary.10276";
29019
+ return "1.5.9-0.canary.10277";
29020
29020
  }
29021
29021
 
29022
29022
  /**