18.4 · HLS, buffering, Now Playing, remote commands, Picture in Picture and AirPlay

Most media apps stream, and every media app must cooperate with the system: the lock screen, headphones, the car, the TV. These are mostly configuration, and mostly where the bugs are.

Mental model. Streaming is choosing the right chunk at the right time. System integration is telling the OS what is playing and answering its commands.

Streaming

HLS playlists, adaptive bitrate, buffering and stalls, FairPlay at a high level.

  1. How does HLS adaptive streaming work, why do stalls happen, and what does FairPlay add? 18.4.1 · L3
    HTTP Live Streaming (HLS) delivers media as ordinary HTTP downloads of short segments (a few seconds each), described by text playlists (.m3u8). A master…

Integration

Now Playing, remote commands, Picture in Picture and AirPlay.

  1. How do Now Playing info, remote commands, Picture in Picture and AirPlay integrate a player with the system? 18.4.2 · L3
    A media app is not just a player; the system, headphones, the car and other devices all want to know what is playing and to control it. Now Playing: set…

More in Media & graphics