hls.js 1.5.8-0.canary.10165 → 1.5.8-0.canary.10168

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.8-0.canary.10165"}`);
515
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.8-0.canary.10168"}`);
516
516
  } catch (e) {
517
517
  /* log fn threw an exception. All logger methods are no-ops. */
518
518
  return createLogger();
@@ -6305,19 +6305,6 @@ function getCodecTiers(levels, audioTracksByGroup, minAutoLevel, maxAutoLevel) {
6305
6305
  tier.maxScore = Math.max(tier.maxScore, level.score);
6306
6306
  tier.fragmentError += level.fragmentError;
6307
6307
  tier.videoRanges[level.videoRange] = (tier.videoRanges[level.videoRange] || 0) + 1;
6308
- if (audioGroups) {
6309
- audioGroups.forEach(audioGroupId => {
6310
- if (!audioGroupId) {
6311
- return;
6312
- }
6313
- const audioGroup = audioTracksByGroup.groups[audioGroupId];
6314
- // Default audio is any group with DEFAULT=YES, or if missing then any group with AUTOSELECT=YES, or all variants
6315
- tier.hasDefaultAudio = tier.hasDefaultAudio || audioTracksByGroup.hasDefaultAudio ? audioGroup.hasDefault : audioGroup.hasAutoSelect || !audioTracksByGroup.hasDefaultAudio && !audioTracksByGroup.hasAutoSelectAudio;
6316
- Object.keys(audioGroup.channels).forEach(channels => {
6317
- tier.channels[channels] = (tier.channels[channels] || 0) + audioGroup.channels[channels];
6318
- });
6319
- });
6320
- }
6321
6308
  return tiers;
6322
6309
  }, {});
6323
6310
  }
@@ -20363,7 +20350,7 @@ class Hls {
20363
20350
  * Get the video-dev/hls.js package version.
20364
20351
  */
20365
20352
  static get version() {
20366
- return "1.5.8-0.canary.10165";
20353
+ return "1.5.8-0.canary.10168";
20367
20354
  }
20368
20355
 
20369
20356
  /**