Streaming explained
Reading the MPD AdaptationSet and Representation tree
A practical guide to how an MPEG-DASH MPD groups streams into AdaptationSets and Representations, and how that structure helps you read a channel in ZippyCast.

Why the MPD is a tree, not a list
An MPEG-DASH stream is described by a Media Presentation Description, an XML document that tells the player where the pieces of media live. Unlike a flat file listing, the MPD is organised as a hierarchy: a Period contains AdaptationSets, and each AdaptationSet contains one or more Representations. Each level answers a different question, and reading them in order is the quickest way to understand what a channel is actually offering before you blame the player.
The MPD also carries metadata such as mimeType and codecs, and details such as byte ranges, and in many cases it will be generated for you by the provider's packaging tools. That last point matters in ZippyCast: you are reading a document someone else produced, so the goal is interpretation, not editing.
Periods: the top of the tree
A Period is a time-bounded chunk of the presentation. In the simplest VOD example, a single Period with a start of zero covers the whole asset. Live services can use more than one Period, for instance when the presentation changes over time. For everyday troubleshooting in ZippyCast, most streams you meet will have one Period, so the interesting detail usually sits one level down.
When a stream behaves oddly, note whether the MPD declares a mediaPresentationDuration and whether the type attribute is static or dynamic. Those two facts frame everything below them and tell you whether you are looking at a finite asset or an ongoing live presentation.
AdaptationSets: one per media kind
An AdaptationSet groups Representations that share a media type. In a typical example you will see one AdaptationSet with mimeType audio/mp4 and another with mimeType video/mp4. This is the level where the MPD states the codecs string, such as mp4a.40.5 for audio or avc1.42401E for video, and where attributes like lang identify an audio language.
This grouping is why an MPD can offer several audio languages or separate audio and video tracks that the player can prioritise and serve independently depending on bandwidth. If a channel plays with picture but no sound, or sound but no picture, the AdaptationSet level is where you confirm that both media kinds are actually described in the document.
Representations: the quality ladder
Inside a video AdaptationSet, each Representation is one encoded version of the same content at a given bandwidth. A typical on-demand example lists several video Representations with bandwidth values in ascending order and matching width and height attributes, alongside a single audio Representation. The player picks among them, which is what makes the stream adaptive.
Each Representation carries a BaseURL pointing at its media, and the segment information may be expressed as a SegmentBase with an Initialization sourceURL and a byte range, or as a SegmentList of SegmentURL entries with mediaRange values. Seeing which form is used tells you how the player is expected to fetch the media: by byte range into a single file, or by requesting discrete segment files.
What the structure tells you in ZippyCast
ZippyCast is an empty-shell player: it supplies no channels or content, and everything you see comes from the provider whose credentials you entered. So when a DASH channel misbehaves, the MPD structure is your map of what the provider published. If only one video Representation exists, there is no quality ladder to adapt across. If the audio AdaptationSet is missing, no amount of player tweaking will produce sound.
A practical routine: open the MPD, confirm the Period count and type, check that both audio and video AdaptationSets are present with sensible codecs strings, then look at how many Representations each holds and whether their segment information is complete. That sequence separates a thin or malformed manifest from a genuine playback problem, and it keeps the diagnosis on the provider side where stream quality actually lives.
Where the MPD ends and the player begins
MPEG-DASH playback in a browser relies on Media Source Extensions and a DASH client library, and the MPD is only the description the client works from. ZippyCast's job is to hand that description to the playback engine and render the result. If the manifest is well formed and the segments are reachable, the remaining variables are your device and network.
That is why the MPD is worth ten minutes of reading before you change anything. It tells you what should happen; comparing that with what does happen narrows the fault quickly, and it gives you precise language when you contact your provider about a channel that will not start.
