
HLS and MPEG-DASH both stream adaptive video over plain HTTP, and they differ mainly in manifest format, Apple device support and DRM. HLS comes from Apple, uses .m3u8 playlists and plays natively on iPhone. MPEG-DASH is an ISO standard with an XML .mpd manifest, played through a JavaScript player.
TL;DR:
hls or dash per rendition, and the video detail returns a manifest URL and a hosted player URL for each format.Updated Nov 30, 2026: sources linked in place, a three-rendition worked example added, the embed snippet replaced with the docs' HLS and DASH playback fields.
Both protocols run over HTTP, cut video into segments listed in an index file, and switch bitrate as the connection changes. Because both use ordinary web servers and ports, they pass through firewalls and CDNs, and on AIOZ Stream through peer delivery nodes, so the differences sit in the details below. WebRTC, RTMP and SRT, the other streaming protocol families, solve different problems.
| HLS | MPEG-DASH | |
|---|---|---|
| Created by | Apple; published as IETF RFC 8216 | MPEG; international standard ISO/IEC 23009-1 |
| Manifest | .m3u8 text playlists (a master playlist plus one media playlist per rendition) | .mpd XML file (Periods, Adaptation Sets, Representations) |
| Segment containers | MPEG-TS or fragmented MP4 | Usually fragmented MP4 |
| Codecs | Tied to what Apple devices decode, most often H.264 and HEVC | Codec-agnostic, so VP9 and AV1 ladders are straightforward |
| Apple devices | Native playback in Safari and iOS | No native playback on iPhone |
| Chrome, Firefox, Edge | Usually through a JavaScript player such as hls.js | Through a JavaScript player such as dash.js or Shaka Player |
| Typical segment length | 6 seconds by default | 2 to 10 seconds, ideally 2 to 4 |
| DRM | FairPlay on Apple devices | Widevine and PlayReady, via Common Encryption |
| Low-latency mode | LL-HLS | Low-latency DASH with chunked CMAF |
| On AIOZ Stream | type: 'hls', container mpegts or mp4 | type: 'dash', container fmp4 |
The manifest is the difference you'll touch most as a developer, because it's the file your player reads first. Take one video with three renditions, 360p, 720p and 1080p. In HLS, it takes four M3U8 files: a master playlist listing each rendition with its bandwidth, plus one media playlist of segment URLs per rendition. DASH puts the same video in one XML MPD, with the three renditions as Representations inside a video Adaptation Set.

Neither format gives a better picture, since the same encode looks the same in both, so the choice comes down to your audience and your DRM needs. To compare two encodes of your own, use a perceptual score such as VMAF.
Latency is no longer a reason to pick one over the other, although the defaults differ. Standard HLS with 6-second segments runs well behind real time, but LL-HLS and low-latency DASH both cut that by sending partial segments. Below about a second, neither fits, and WebRTC takes over.
Yes, and the usual way is CMAF (the Common Media Application Format). RFC 8216 allows HLS segments in fragmented MP4 as well as MPEG-TS, and fragmented MP4 is DASH's usual container too. Package your renditions once as CMAF segments and write manifests for both formats that point at the same files. For the three-rendition video, 10 minutes cut into 6-second segments is 600 / 6 = 100 segments per rendition, 300 in all. Packaged separately for each format, that's 600 segment files to store and cache; packaged once as CMAF, it's 300 plus five small manifests (four .m3u8 files and one .mpd).
DRM can follow the same path. HLS encrypts fMP4 segments with the cbcs scheme of Common Encryption, so one CMAF set, encrypted once with cbcs, can be signalled in both manifests and serve every device. FairPlay accepts only cbcs, and Widevine and PlayReady now support it as well.
Once the player has a manifest, HLS and DASH behave the same way. The player reads the list of renditions, measures recent download speed and how full its buffer is, and requests the next segment at the highest rendition it can sustain. In the three-rendition video, that's 360p, 720p or 1080p. Then it measures again and repeats the loop every few seconds for the whole session. In a browser, that loop runs in JavaScript on top of the video element and Media Source Extensions.

Weighing both signals keeps one slow segment from triggering a downshift, and frequent switches hurt viewers even when nothing stalls. The throughput, buffer and hybrid algorithms that make this call belong to the player, not the format.
The AIOZ Stream player supports both HLS and MPEG-DASH and adjusts quality to each viewer's connection. On the encoding side, you choose the format per rendition in the qualities array of the create request: type hls with an mpegts or mp4 container, or dash with fmp4. The container must match the type.
For the three-rendition video, the docs' sample response from Get video detail lists the same 360p, 720p and 1080p qualities. Its assets object carries a manifest URL and a hosted player URL for each format (an excerpt of the docs sample, not run):
GET https://api.aiozstream.network/api/media/video_id
"assets": {
"hls_url": "https://api.aiozstream.network/api/media/video_id/m3u8",
"hls_player_url": "https://embed.aiozstream.network/vod/hls/video_id",
"dash_url": "https://api.aiozstream.network/api/media/video_id/manifest",
"dash_player_url": "https://embed.aiozstream.network/vod/dash/video_id",
"mp4_url": "https://api.aiozstream.network/api/media/video_id/mp4"
}The hls_url and dash_url are the manifests your own player, such as hls.js, dash.js or Shaka Player, would load. The two player URLs are the hosted embeds, and the response also returns a ready-made hls_iframe and dash_iframe.
The takeaway: let your audience pick the format. The Analytics API breaks views down by operating system and browser, so your iOS and Safari share tells you whether HLS alone covers you or a DASH rendition set is worth adding.
Does Safari support MPEG-DASH?
Not natively on iPhone, which is why HLS is the format to use when Apple devices are a large part of your audience.
Does MPEG-DASH give better video quality than HLS?
No. Picture quality comes from the encode, so the same renditions look the same whichever manifest points to them and whichever player reads it.
Which has lower latency, HLS or DASH?
In their low-latency modes they are close: LL-HLS and low-latency DASH both send partial segments to cut delay.
Can AIOZ Stream output both HLS and DASH?
Yes, because you set type per rendition when you create the video, and the finished video returns an hls_url and a dash_url.
Do I need DASH to use Widevine?
Not anymore in most setups, because CMAF segments encrypted with cbcs can carry Widevine, PlayReady and FairPlay through either manifest.
Is HLS an open standard?
HLS is published as an informational IETF RFC (8216) and is widely supported, while MPEG-DASH is a formal ISO/IEC standard.
type and container options and the HLS and DASH playback fields
MPEG-DASH streams adaptive video over HTTP from an XML MPD file. See a real MPD: Periods, AdaptationSets, Representations, segment addressing and live MPDs.

What is CMAF? The ISO format that packages video as fragmented MP4 so one set of files serves HLS and DASH, with its chunks, brands and low-latency role.

CBR vs VBR vs CRF explained: what each video rate control mode holds fixed, how maxrate and bufsize cap it, our x264 test results, and which mode to use where.

A live streaming API tutorial for AIOZ Stream: create a session, push RTMP, poll real-time stats every 5 to 30 seconds, then list the saved recordings.

Restream to multiple platforms by sending one feed to a relay. Learn the bandwidth math, platform rules and how AIOZ Stream multicast forwards your RTMP stream.

MPEG-TS vs fMP4 for HLS: how 188-byte TS packets and fMP4 init segments differ, what each costs in overhead, which codecs need fMP4, and when TS still fits.