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.
@@ -501,7 +501,7 @@ function enableLogs(debugConfig, context, id) {
501
501
  // Some browsers don't allow to use bind on console object anyway
502
502
  // fallback to default if needed
503
503
  try {
504
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.11-0.canary.10336"}`);
504
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10338"}`);
505
505
  } catch (e) {
506
506
  /* log fn threw an exception. All logger methods are no-ops. */
507
507
  return createLogger();
@@ -5636,7 +5636,7 @@ class ErrorController extends Logger {
5636
5636
  var _level$audioGroups, _level$subtitleGroups;
5637
5637
  const levelCandidate = levels[candidate];
5638
5638
  // Skip level switch if GAP tag is found in next level at same position
5639
- if (errorDetails === ErrorDetails.FRAG_GAP && data.frag) {
5639
+ if (errorDetails === ErrorDetails.FRAG_GAP && fragErrorType === PlaylistLevelType.MAIN && data.frag) {
5640
5640
  const levelDetails = levels[candidate].details;
5641
5641
  if (levelDetails) {
5642
5642
  const fragCandidate = findFragmentByPTS(data.frag, levelDetails.fragments, data.frag.start);
@@ -20386,7 +20386,7 @@ class Hls {
20386
20386
  * Get the video-dev/hls.js package version.
20387
20387
  */
20388
20388
  static get version() {
20389
- return "1.5.11-0.canary.10336";
20389
+ return "1.5.12-0.canary.10338";
20390
20390
  }
20391
20391
 
20392
20392
  /**