Files
mediabunny/src
Theredbt b48eb75565 fix(input-format): recognise CMAF segments that start with sidx
Sibling case to #308: when a fragmented MP4 segment begins with a sidx
box (no ftyp/styp/moof at the file root), Mp4InputFormat._canReadInput
returned false, causing Input.getTracks() to throw
UnsupportedInputFormatError.

This shape is standard in CMAF when the DASH on-demand profile is used
or when HLS playlists are derived from one (Vimeo's vod-adaptive-ak CDN,
for example). The segment is still a valid ISOBMFF fragment — the sidx
just sits before the moof.

Adds 'sidx' alongside the existing 'moof' check so the format probe
accepts these segments, and a focused regression test that fails on
the previous behaviour.
2026-05-11 04:22:46 +01:00
..
2026-04-16 18:27:51 +02:00
2026-04-24 20:55:34 +02:00
2026-04-15 09:16:40 +02:00
2026-04-24 20:56:59 +02:00
2026-04-16 17:43:12 +02:00
2026-02-12 11:56:37 +01:00
2026-01-16 17:02:12 +01:00
2026-04-16 18:27:51 +02:00
2026-04-17 15:16:08 +02:00
2026-01-16 17:02:12 +01:00