A viewer joining a live broadcast asks for the current playlist, then for the media segments it references. The playlist has to advance as the encoder publishes. Each segment must remain available long enough for a viewer behind the live edge to fetch it.
Watch the playlist advance
Capture consecutive media playlists during a rehearsal. Check that the sequence advances at the expected cadence and that the newest referenced segment is available when advertised. Set playlist freshness with the packager’s update interval and player behavior in mind. Low-latency modes can impose additional request and delivery requirements.
Allow for viewers behind the live edge
Leave published segments reachable long enough for clients working from an earlier playlist. A late join, network interruption or slower rendition can send a real viewer behind the newest segment. Returning 404 immediately after a segment leaves the current playlist can strand those viewers.
Rehearse the event handoff
Open one player before the staging broadcast and a second one midway through. Disconnect and reconnect the second player while the first continues. During an upstream switch, watch both timelines, captions and alternate audio. Compare the media sequence on either side of the switch if either player skips, stalls or repeats a segment.
Sources & further reading
Reader questions
Will a longer CDN TTL reduce live latency?
A longer playlist lifetime can hold viewers farther behind. Measure capture, encoding, packaging, delivery and player buffering before changing the cache policy.
