HLS troubleshooting

An HLS target duration uses a fractional value

Keep a positive integer target duration and use the precise decimal for each segment.

Keep a positive integer target duration and use the precise decimal for each segment.

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:4.5
#EXTINF:4.3,
example.ts

What the local check found

Reproducible check against the packaged fixture and parser.
Expected signalObserved signal
Target duration must be a positive integer for this checkTarget duration must be a positive integer for this check · Media playlist has no target duration

What to do next

Inspect the packager output and use a valid target duration while retaining the actual segment length.

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