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

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.js CHANGED
@@ -637,7 +637,7 @@
637
637
  // Some browsers don't allow to use bind on console object anyway
638
638
  // fallback to default if needed
639
639
  try {
640
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.8-0.canary.10165");
640
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.8-0.canary.10166");
641
641
  } catch (e) {
642
642
  /* log fn threw an exception. All logger methods are no-ops. */
643
643
  return createLogger();
@@ -7368,6 +7368,9 @@
7368
7368
  return;
7369
7369
  }
7370
7370
  var audioGroup = audioTracksByGroup.groups[audioGroupId];
7371
+ if (!audioGroup) {
7372
+ return;
7373
+ }
7371
7374
  // Default audio is any group with DEFAULT=YES, or if missing then any group with AUTOSELECT=YES, or all variants
7372
7375
  tier.hasDefaultAudio = tier.hasDefaultAudio || audioTracksByGroup.hasDefaultAudio ? audioGroup.hasDefault : audioGroup.hasAutoSelect || !audioTracksByGroup.hasDefaultAudio && !audioTracksByGroup.hasAutoSelectAudio;
7373
7376
  Object.keys(audioGroup.channels).forEach(function (channels) {
@@ -30466,7 +30469,7 @@
30466
30469
  * Get the video-dev/hls.js package version.
30467
30470
  */
30468
30471
  function get() {
30469
- return "1.5.8-0.canary.10165";
30472
+ return "1.5.8-0.canary.10166";
30470
30473
  }
30471
30474
  }, {
30472
30475
  key: "Events",