HLS troubleshooting

Why an HLS media segment lacks duration

Associate each media segment URI with its own duration declaration.

Associate each media segment URI with its own duration declaration.

Reproduce the condition

The HLS sample below is a small synthetic file. It carries no active media source or account data.

#EXTM3U
#EXT-X-TARGETDURATION:6
example.ts

What the local check found

Reproducible check against the packaged fixture and parser.
Expected signalObserved signal
Media URI lacks a segment durationMedia URI lacks a segment duration

What to do next

Check the segment immediately before the failure. Restore its correct EXTINF value from the packager.

What to share if the problem continues

  • The exact parser result and version of the importer or player.
  • A minimal redacted sample with dates, IDs or segment names retained as needed.
  • The output after checking the source export separately from the viewer app.

Sources and further reading