hls.js 1.5.11-0.canary.10336 → 1.5.12-0.canary.10338

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.light.js CHANGED
@@ -580,7 +580,7 @@
580
580
  // Some browsers don't allow to use bind on console object anyway
581
581
  // fallback to default if needed
582
582
  try {
583
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.11-0.canary.10336");
583
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.12-0.canary.10338");
584
584
  } catch (e) {
585
585
  /* log fn threw an exception. All logger methods are no-ops. */
586
586
  return createLogger();
@@ -5868,7 +5868,7 @@
5868
5868
  var _level$audioGroups, _level$subtitleGroups;
5869
5869
  var levelCandidate = levels[candidate];
5870
5870
  // Skip level switch if GAP tag is found in next level at same position
5871
- if (errorDetails === ErrorDetails.FRAG_GAP && data.frag) {
5871
+ if (errorDetails === ErrorDetails.FRAG_GAP && fragErrorType === PlaylistLevelType.MAIN && data.frag) {
5872
5872
  var levelDetails = levels[candidate].details;
5873
5873
  if (levelDetails) {
5874
5874
  var fragCandidate = findFragmentByPTS(data.frag, levelDetails.fragments, data.frag.start);
@@ -21709,7 +21709,7 @@
21709
21709
  * Get the video-dev/hls.js package version.
21710
21710
  */
21711
21711
  function get() {
21712
- return "1.5.11-0.canary.10336";
21712
+ return "1.5.12-0.canary.10338";
21713
21713
  }
21714
21714
  }, {
21715
21715
  key: "Events",