HLS troubleshooting

An HLS media playlist omits its target duration

The segment’s duration field does not replace the playlist’s target duration.

The segment’s duration field does not replace the playlist’s target duration.

Reproduce the condition

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

#EXTM3U
#EXTINF:5.0,
example.ts

What the local check found

Reproducible check against the packaged fixture and parser.
Expected signalObserved signal
Media playlist has no target durationMedia playlist has no target duration

What to do next

Set the media playlist target duration from its actual segment lengths and verify it stays consistent across playlist updates.

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