Streaming Techniques: Discover Buffering, ABR, CDN and Cloud Computing

Streaming Techniques are the mechanisms that allow multimedia content to remain stable, responsive and efficient while network conditions continuously change. In this handout, we will examine buffering, understanding how the player stores part of the content in advance to reduce interruptions, and how latency, jitter and rebuffering affect playback quality. We will then explore Adaptive Bitrate Streaming, which allows the player to switch dynamically between different renditions according to network speed, buffer level and device characteristics.

We will also study the Content Delivery Network, including PoPs, edge servers, cache hits, cache misses and content pre-positioning, and see how edge computing can move some processing closer to users. Finally, we will examine cloud computing, elasticity and distributed media processing, together with the role of the media player in coordinating manifests, segment requests, buffering, DRM, decoding and playback.

Streaming Techniques

Key points

  • Buffering = process of temporarily storing received multimedia data to maintain continuous playback despite fluctuations in network performance.
  • Buffer dynamics → Data received > data consumed: buffer grows; data received ≈ data consumed: buffer remains stable; data received < data consumed: buffer empties.
  • Initial buffering ≠ rebuffering: initial buffering occurs before playback begins, while rebuffering interrupts ongoing playback when the buffer becomes empty.
  • Latency ≠ jitter: latency measures transmission delay, while jitter describes variations in packet arrival timing.
  • Buffer ≠ jitter buffer: a buffer protects against temporary data shortages, while a jitter buffer regularises packet delivery timing.
  • Buffer size → larger accumulated reserves improve resistance to network fluctuations but may increase startup delay and live streaming latency.
  • Adaptive Bitrate Streaming (ABR) = technique that automatically adjusts playback quality according to network conditions, buffer levels and device capabilities.
  • Bitrate ladder = set of alternative representations of the same content, called renditions or variants, encoded at different bitrates and resolutions.
  • Resolution ≠ bitrate: resolution describes image dimensions, while bitrate measures the amount of data transmitted per unit of time.
  • Segmentation and manifests → representations are divided into temporally corresponding segments, while manifests describe available versions and their retrieval locations.
  • ABR algorithm → Measurement → Quality selection → Segment download → Playback → New measurement, continuously balancing quality and playback stability.
  • ABR and buffering → the buffer maintains a temporary reserve of content, while ABR selects suitable bitrates to preserve that reserve.
  • Content Delivery Network (CDN) = geographically distributed infrastructure that delivers cached content closer to users, reducing origin server load and improving scalability.
  • Point of Presence (PoP) ≠ edge server: a PoP is a CDN network location, while an edge server handles content requests and delivery.
  • Cache hit ≠ cache miss: a cache hit finds the requested content locally, while a cache miss requires retrieval from an origin or intermediate cache.
  • Pull caching ≠ pre-positioning/push: pull caching retrieves content when requested, while pre-positioning distributes content to edge nodes before demand.
  • CDN ≠ edge computing: a CDN primarily distributes and caches content, while edge computing also executes processing near users.
  • Cloud computing = model providing network-accessible processing, storage and software services without requiring direct management of all physical infrastructure.
  • Compute ≠ storage: compute resources execute processing operations, while storage resources retain multimedia content and other data.
  • Cloud elasticity = ability to dynamically increase or decrease computing resources according to changes in workload and demand.
  • Cloud ≠ CDN: cloud infrastructure provides processing, storage and application services, while CDNs optimise geographically distributed content delivery.
  • Media player = client-side software that coordinates segment requests, buffering, adaptive quality selection, decoding, synchronisation and playback controls.
  • Digital Rights Management (DRM) → the player requests an authorisation licence to enable decryption and playback of protected multimedia content.
  • On-demand streaming pipeline → Video Master → Cloud Storage → Transcoding → HLS/DASH Packaging → Origin → CDN → Edge Server → Player → Buffer → Decoder → Playback.

Do you want to help me write articles like this one?

Leave a Reply

Your email address will not be published. Required fields are marked *

No responses yet

Sostieni il progetto

Tutti i materiali che condivido nascono da una convinzione molto semplice: una buona formazione non dovrebbe limitarsi a insegnare quali pulsanti premere, ma aiutare a comprendere le idee, i principi e i processi che stanno dietro agli strumenti.

Per questo dedico una parte significativa del mio tempo a studiare, organizzare e produrre contenuti gratuiti dedicati al multimedia, al design e alla comunicazione visiva. Articoli, lezioni, approfondimenti e risorse che hanno l’obiettivo di rendere accessibili argomenti spesso affrontati in modo frammentario o superficiale.

Questo lavoro richiede però tempo, ricerca e cura. Ogni guida, ogni video, ogni materiale pubblicato gratuitamente è il risultato di molte ore di studio, scrittura e revisione.
Sostenere il progetto attraverso Patreon significa permettermi di continuare a produrre contenuti educativi di qualità, mantenerli accessibili al maggior numero possibile di persone e dedicare più energie alla costruzione di una risorsa che possa essere utile a studenti, professionisti e appassionati.

Se credi che una conoscenza più profonda, rigorosa e consapevole del multimedia abbia valore, il tuo contributo non sostiene soltanto il mio lavoro: aiuta a rendere queste risorse disponibili per tutta la comunità.
Grazie per il supporto e per la fiducia.

Patreon è troppo impegnativo?

Puoi sostenermi anche con una donazione libera, senza abbonamento e senza impegno.
Anche un piccolo contributo mi aiuta a continuare a creare giochi, contenuti didattici e materiali gratuiti con più libertà.

Support the project

All the materials I share stem from a very simple conviction: good training should not be limited to teaching which buttons to press, but should help people understand the ideas, principles, and processes behind the tools.

That is why I dedicate a significant portion of my time to researching, organizing, and producing free content focused on multimedia, design, and visual communication—articles, lessons, in-depth analyses, and resources aimed at making accessible topics that are often addressed in a fragmented or superficial way.

However, this work requires time, research, and care. Every guide, video, and piece of material published for free is the result of many hours of study, writing, and revision.
Supporting the project via Patreon enables me to continue producing high-quality educational content, keep it accessible to as many people as possible, and devote more energy to building a resource that benefits students, professionals, and enthusiasts alike.

If you believe that a deeper, more rigorous, and informed understanding of multimedia is valuable, your contribution does more than just support my work: it helps make these resources available to the entire community.
Thank you for your support and trust.

Is Patreon too demanding?

You can also support me with a voluntary donation—no subscription or commitment required.

Even a small contribution helps me continue creating games, educational content, and free materials with greater freedom.