Expand description
Playback plans (ARCHITECTURE §6, §8): how the server would play an item for this client, given what it can decode and which tracks it picked.
Structs§
- Chosen
Tracks - The tracks the server chose when the client sent no
Selection(P1-20), and why, so the client can show it. - Converted
Audio - What happens to the selected audio track in a converted plan.
- Converted
Subtitle - What happens to the selected subtitle in a converted plan.
- Planned
Audio - Planned
Subtitle - Rung
- One variant of an HLS ladder (PX-21): its picture’s height and its
video’s bitrate, bits per second (an encode’s cap; a copy’s average).
Its codec, range and burned-in subtitle are the plan’s
video’s, only the size and rate differing, unlessvideosays otherwise. - Selection
- The tracks a client wants, as positions in the item’s
MediaTrackslists. Only these count: a track the user did not pick never blocks playback.
Enums§
- Audio
Action - Bitmap
Subtitles - How a picked bitmap subtitle (PGS) is shown (P2-07): drawn by the client, read as text by the server, or burned into the video. Text subtitles are not affected; they are never burned in. Pictures are burned in only when the client cannot draw them.
- Converted
Video - What happens to the video in a converted plan.
- Playback
Plan - Quality
- What quality a playback is planned for (P6-06): the viewer’s choice
for this playback. The capabilities’
max_bitrate, the app’s own limit, stays a ceiling over each. - Subtitle
Action - Subtitle
Delivery - Where the client gets a subtitle from.
- Track
Reason - Why a track was chosen, or why none was.
Constants§
- LINK_
SHARE - Of a link’s measured rate, the share a playback is planned for (P6-06): the rest is room for the link’s swings and for the requests, artwork and progress reports that share it. The server plans for it, and the SDK asks for a new plan when a file needs more than it.