How to send pieces (chunks or parts) before a segment is finished, bringing latency down to a few seconds.
In regular HLS and DASH, the biggest bottleneck was that a segment is only delivered once it is complete. The shared idea of the low-latency extensions is simple: split the segment into smaller pieces and send them piece by piece before the segment ends. The foundation for these pieces is the CMAF format (CMAF intro).
A CMAF segment is a fragmented MP4, and a single segment can be made up of several chunks. Each chunk is a moof (fragment info) + mdat (the actual media data) pair, which makes it the smallest unit for sending and preparing playback. However, a chunk is not always decodable on its own: usually only the first chunk of a segment starts with a keyframe, and the chunks after it may reference earlier frames. The encoder and packager don't wait for the segment to end; they send out each chunk as it fills up.
The key to LL-DASH (CMAF low-latency) is sending chunks via HTTP chunked transfer. When the server is asked for a segment file that isn't finished yet, it starts streaming the chunks it has made so far. The manifest (MPD) is known to carry information saying the segment is available to request before it is complete, along with hints such as a target latency. For the specific field names and values, see the DASH-IF low-latency guidelines.
LL-HLS is Apple's low-latency extension to HLS. It splits segments into smaller parts (partial segments) and publishes them in the playlist, and the player is designed to receive the next part the moment it appears. Below are the representative components introduced in Apple's HLS specification.
For exact tag and query names and requirements, check Apple's HLS specification (IETF RFC 8216 and later revisions) and the Apple Developer documentation.
Both LL-HLS and LL-DASH work by sending CMAF-based pieces before they're complete, with the player picking them up right away. So CMAF's advantage of letting two manifests share the same piece files carries over to low latency. Both still run over HTTP, so a big advantage is that you can keep using your existing CDN and ABR (quality ladder) setup. However, the CDN, packager, and player you use must all support low latency.
FFmpeg's hls and dash muxers are widely used for producing regular segments, and the DASH side is known to have low-latency options (-ldash, -streaming, and so on). But it is hard to expect FFmpeg alone to deliver a service with all of LL-HLS's parts, blocking reload, and preload hints. Low-latency packaging and serving is often handled by a dedicated media server or a cloud service. Check which options are supported in your own build with ffmpeg -h muxer=dash.
ffmpeg -i INPUT \
-c:v libx264 -preset veryfast -tune zerolatency -g 60 -keyint_min 60 -sc_threshold 0 \
-c:a aac \
-f hls -hls_time 2 -hls_list_size 6 \
-hls_flags delete_segments+independent_segments \
live.m3u8The command above is an example where hls_time 2 (2-second segments) lines up with -g 60 (2 seconds at 30fps). This alone does not give you LL-HLS; it is a regular HLS setup that uses relatively short segments. independent_segments marks that each segment can be decoded independently.
Apple's low-latency extension of HLS, adding parts (partial segments), blocking reload, and preload hints.
A DASH approach that delivers CMAF chunks via HTTP chunked transfer, starting before the segment is complete.
A sub-piece of a CMAF segment made of a moof+mdat pair. The unit of transfer in low latency.
A finer piece of a segment in LL-HLS. It is listed in the playlist as EXT-X-PART.
An HTTP transfer method that sends pieces one after another without knowing the total length of the response.
What is the key way LL-DASH gets lower latency than regular segments?
What does LL-HLS's Blocking Playlist Reload do?