How HLS, DASH, and CMAF work: one video is pre-encoded at several qualities, and the player switches between them segment by segment as the network changes.
You have probably watched Netflix or YouTube drop in quality in a subway tunnel, then climb back up. That is adaptive bitrate streaming (ABR).
Encode the same video ahead of time in several quality (bitrate) versions, cut each one into short segments (usually 2-10 seconds), and keep them ready on the server. The player measures network conditions in real time and decides again, for every segment, which quality to request next.
HLS and DASH used to use different segment formats, so the same video had to be encoded and stored twice. CMAF (Common Media Application Format) defines a common segment format so that an HLS manifest and a DASH manifest can point to the same segment files, which cuts storage and CDN costs considerably.
The logic a player uses to decide which quality to fetch next (the ABR algorithm) does not look at current bandwidth alone. It weighs the buffer level (if it is too low, drop the quality to avoid stalling), the switching frequency (changing too often is itself distracting), segment size prediction, and more. Combined with the multi-codec delivery from Chapter 7, a single manifest can list AV1, HEVC, and H.264 versions at the same quality, and the player picks among them while also taking device support into account.
A streaming method that switches quality in real time according to network conditions.
The two main adaptive streaming protocols, from Apple and MPEG respectively.
A common format that lets HLS and DASH share segments.
The set of resolution and bitrate versions prepared for the same content.
What is the biggest practical benefit CMAF brought to the streaming industry?