Skip to content

Interstitial didn't transfer to main content after ads ended #7664

@KunXi-Fox

Description

@KunXi-Fox

What version of Hls.js are you using?

1.6.15

What browser (including version) are you using?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

What OS (including version) are you using?

Mac OS 26.1

Test stream

No response

Configuration

{
  "backBufferLength": 20,
  "maxBufferLength": 40,
  "liveSyncDuration": 16,
  "maxMaxBufferLength": 100,
  "interstitialAppendInPlace": true,
  "interstitialLiveLookAhead": 20,
  "manifestLoadPolicy": {
    "default": {
      "maxTimeToFirstByteMs": null,
      "maxLoadTimeMs": 10000,
      "timeoutRetry": {
        "maxNumRetry": 0,
        "retryDelayMs": 0,
        "maxRetryDelayMs": 0
      },
      "errorRetry": {
        "maxNumRetry": 0,
        "retryDelayMs": 1000,
        "maxRetryDelayMs": 8000
      }
    }
  },
  "playlistLoadPolicy": {
    "default": {
      "maxTimeToFirstByteMs": 10000,
      "maxLoadTimeMs": 10000,
      "timeoutRetry": {
        "maxNumRetry": 2,
        "retryDelayMs": 0,
        "maxRetryDelayMs": 0
      },
      "errorRetry": {
        "maxNumRetry": 2,
        "retryDelayMs": 500,
        "maxRetryDelayMs": 32000
      }
    }
  },
  "fragLoadPolicy": {
    "default": {
      "maxTimeToFirstByteMs": 10000,
      "maxLoadTimeMs": 30000,
      "timeoutRetry": {
        "maxNumRetry": 3,
        "retryDelayMs": 0,
        "maxRetryDelayMs": 0
      },
      "errorRetry": {
        "maxNumRetry": 3,
        "retryDelayMs": 500,
        "maxRetryDelayMs": 32000
      }
    }
  }
}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. Play an SGAI assets with pre-roll ads + ads starts from beginning
  2. Wait for ads ended

Manifest file attached and run time log attached:

manifest.log

runtime-log.log

Expected behaviour

Playback main content should be pre loaded while ads about to complete and after ads complete, playback should transfer to main content successfully.

What actually happened?

Playback only download few (two actually) segment and after ads ended, playback shows infinite loading

Console output

See attached file: [runtime-log.log](https://github.com/user-attachments/files/23894901/runtime-log.log)

Chrome media internals output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions