No history yet

Streaming Basics

What is Streaming?

Streaming is a way of delivering and watching video or listening to audio over the internet in real time. Instead of downloading a whole file before you can play it, the data is sent in a continuous flow, or stream. Your device plays the content as it arrives.

Think of it like the difference between getting a bucket of water and drinking from a fountain. Downloading is like filling the entire bucket before you can take a single sip. Streaming is like the fountain; the water flows continuously, and you can start drinking right away. Your device downloads just enough of the content to start playing, and it continues to get the rest while you're watching or listening. This is why you sometimes see a "buffering" message – your device is waiting for the next part of the stream to arrive.

Lesson image

Streaming vs. Broadcasting

Traditional broadcasting, like cable TV or radio, sends out signals to everyone at once. A TV station airs a show at 8 PM, and anyone with a TV tuned to that channel sees it at that exact time. You're watching on their schedule.

Streaming flips this model around. It’s typically a one-to-one connection. When you decide to watch a show on a service like Netflix, a server sends that specific file directly to you. You control the schedule. This shift from a fixed, one-to-many model to a flexible, one-to-one model is the core difference.

FeatureTraditional BroadcastingStreaming
DeliveryOver-the-air waves, cableInternet connection
ScheduleFixed, linear scheduleOn-demand or live events
Content ControlBroadcaster decidesUser decides what and when
DeviceTV, radioAny internet-connected device

Types of Streaming

Streaming isn't a one-size-fits-all technology. It primarily comes in two flavors: on-demand and live.

On-demand streaming is the most common type. This is what you use when you browse a library of movies, TV shows, or songs and pick what you want. The content is stored on servers, ready for you to access at any time. You can play, pause, fast-forward, and rewind as you please. Services like Spotify, Hulu, and YouTube are built around this model.

Live streaming is for events happening in the moment. Think of a live sports game, a breaking news report, or a gamer broadcasting on Twitch. The content is captured and sent to viewers with a delay of only a few seconds. The experience is much closer to traditional live TV, often with the added ability for viewers to interact through live chats.

The Key Components

To make streaming work smoothly, three key pieces of technology work together behind the scenes.

CDN

noun

A geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially relative to end users.

A Content Delivery Network (CDN) is a network of servers spread out across the globe. Instead of streaming a video from a single server in California to a viewer in Japan, a CDN stores a copy of that video on a server much closer to the viewer, maybe in Tokyo. This drastically reduces the distance the data has to travel, which means faster load times and smoother playback.

Streaming protocols are the rules and methods used to break down, transport, and reassemble a video file for streaming. They manage how data is packaged and sent over the network. Different protocols have different strengths. For example, HLS (HTTP Live Streaming) is great for reliability and works on most devices, while WebRTC (Web Real-Time Communication) is designed for ultra-low latency, making it perfect for live video calls.

Finally, the media player is the software on your device that receives the stream and plays it. This could be the YouTube player in your web browser, the Netflix app on your smart TV, or the Spotify app on your phone. The player's job is to interpret the data sent by the streaming protocol, reassemble the video and audio, and handle things like play, pause, and volume control.

Quiz Questions 1/5

What is the fundamental difference between streaming and downloading a media file?

Quiz Questions 2/5

Watching a live sports game on a service like Twitch is an example of ______ streaming.

These core concepts form the foundation of how all modern streaming works, from listening to a podcast to watching a global live event.