Skip to main content

Chapter 8 · Watch, then practise

Multimedia Application

Compare on-demand streaming with interactive real-time communication. Work from delivery rate and playback deadlines to buffering choices, then distinguish protocol metadata from delivery guarantees.

3 questions · 3 with related videos. Matches are based on playlist titles; broader background matches are labeled.

What to study

  • Adaptive streaming
  • Buffering and latency
  • RTP timestamps and sequence numbers

Chapter playlists

Choose a playlist

Notes

HLS Streaming with Multiple Video Quality | Preparing Master m3u8 File

Tech with Monir · 10:25

Supplementary HLS lesson on multiple qualities and a master playlist supports adaptive delivery.

1. Adaptive delivery

An HLS service offers versions of the same video at different bitrates. Why might a player switch to a lower-bitrate version?

If sustainable throughput falls, smaller segments reduce the risk of exhausting the playback buffer. HLS playlists describe alternative streams, and aligned content timestamps enable switching. The player’s selection policy must consider available bandwidth and buffer state.

HLS Streaming in 3 Minutes

Tech with Monir · 2:30 · Background lecture

Streaming background; the constant-rate buffer-drain calculation is worked in the answer.

2. Buffer drain calculation

Playback consumes 4 Mb/s while delivery sustains 3 Mb/s. With 8 Mb already buffered, how long until the buffer empties under constant rates?

The deficit is 1 Mb/s, so 8 Mb lasts 8 seconds. More initial buffering postpones the stall but increases startup delay. Switching to a sufficiently lower bitrate can remove the deficit; buffering alone cannot fix a persistent rate mismatch.

The Packet Guide to VoIP Chapter 4 - RTP and RTCP

Bruce Hartpence - Learning Networks · 10:58

Supplementary RTP/RTCP lecture for real-time media packet metadata.

3. Real-time packet metadata

What do RTP sequence numbers and timestamps contribute, and do they guarantee on-time delivery?

Sequence numbers help detect missing or reordered packets. Timestamps describe sampling instants for media timing. RTP itself does not guarantee timely delivery or reserve network capacity. The application still needs a playout and loss-handling strategy suited to its latency needs.

References