Set `#EXT-X-VERSION:6` in the Media Playlist — this is the minimum version required by RFC 8216 to use fMP4 (fragmented MP4) segments.
Include an `#EXT-X-MAP` tag pointing to the Media Initialization Section (the `ftyp` + `moov` boxes) before any fMP4 segment references in the playlist.
Ensure each fMP4 segment's `moov` box uses movie-fragment-relative addressing and every `traf` box contains a `tfdt` (Track Fragment Decode Time) box.
Package the fMP4 segments to satisfy CMAF constraints: a single track per segment, `iso6` or later brand in the `ftyp` box, and no external data references.
Validate the playlist and segments with Apple's `mediastreamvalidator` or a conformance tool before deploying to production.
Known gotchas
EXT-X-VERSION 6 is the minimum required for fMP4/CMAF segments per RFC 8216; version 7 is only required if you also use additional features that mandate it (such as `EXT-X-SESSION-KEY` with certain methods).
Missing or incorrectly placed `EXT-X-MAP` is the most common packaging error — it must appear before every discontinuity and at the start of the playlist.
Some CDN edge caches strip or misinterpret `EXT-X-MAP` URIs when the map file has no explicit content-type header; serve the map with `Content-Type: video/mp4`.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp