hls.js 1.5.5-0.canary.9977 → 1.5.5-0.canary.9978

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
@@ -431,7 +431,7 @@ function enableLogs(debugConfig, context, id) {
431
431
  // Some browsers don't allow to use bind on console object anyway
432
432
  // fallback to default if needed
433
433
  try {
434
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.5-0.canary.9977"}`);
434
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.5-0.canary.9978"}`);
435
435
  } catch (e) {
436
436
  /* log fn threw an exception. All logger methods are no-ops. */
437
437
  return createLogger();
@@ -12893,7 +12893,9 @@ class TSDemuxer {
12893
12893
  this.videoParser = new AvcVideoParser();
12894
12894
  break;
12895
12895
  case 'hevc':
12896
- this.videoParser = new HevcVideoParser();
12896
+ {
12897
+ this.videoParser = new HevcVideoParser();
12898
+ }
12897
12899
  break;
12898
12900
  }
12899
12901
  }
@@ -13072,7 +13074,9 @@ class TSDemuxer {
13072
13074
  this.videoParser = new AvcVideoParser();
13073
13075
  break;
13074
13076
  case 'hevc':
13075
- this.videoParser = new HevcVideoParser();
13077
+ {
13078
+ this.videoParser = new HevcVideoParser();
13079
+ }
13076
13080
  break;
13077
13081
  }
13078
13082
  }
@@ -13413,10 +13417,12 @@ function parsePMT(data, offset, typeSupported, isSampleAes) {
13413
13417
  break;
13414
13418
  case 0x24:
13415
13419
  // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
13416
- if (result.videoPid === -1) {
13417
- result.videoPid = pid;
13418
- result.segmentVideoCodec = 'hevc';
13419
- logger.log('HEVC in M2TS found');
13420
+ {
13421
+ if (result.videoPid === -1) {
13422
+ result.videoPid = pid;
13423
+ result.segmentVideoCodec = 'hevc';
13424
+ logger.log('HEVC in M2TS found');
13425
+ }
13420
13426
  }
13421
13427
  break;
13422
13428
  }
@@ -28520,7 +28526,7 @@ class Hls {
28520
28526
  * Get the video-dev/hls.js package version.
28521
28527
  */
28522
28528
  static get version() {
28523
- return "1.5.5-0.canary.9977";
28529
+ return "1.5.5-0.canary.9978";
28524
28530
  }
28525
28531
 
28526
28532
  /**