The short answer
A CDN (content delivery network) is a network of servers spread across many cities that keeps copies of your content close to the people who request it. In video streaming, that content is the sequence of small video files a player downloads one after another. Instead of every viewer pulling those files from your streaming server, each one pulls them from a nearby CDN server that already has a copy.
Two things follow. Your server, which the industry calls the origin, works far less, because it sends each piece to the CDN once instead of once per viewer. And viewers far from the origin get their video over a shorter path, which usually means fewer slow starts. What a CDN does not do is improve the signal you send: if the stream leaves the venue with dropped frames, every CDN server in the world will faithfully deliver those dropped frames.
First, what counts as video streaming
Video streaming means playing video while it downloads, in small pieces, instead of downloading a whole file and then pressing play. It covers live streams (a church service, a webinar, a 24/7 channel) and on-demand videos (the recording someone watches next week).
Almost all of it travels over plain HTTP today, mostly as HLS: the player reads a playlist file (.m3u8) and requests segments a few seconds long. If the format is new to you, our guide on what an M3U8 file is walks through playlists and segments. That HTTP detail is exactly why CDNs suit video so well: segments are ordinary files, and caching ordinary files is what CDNs were built for. Cloudflare's explanation of CDNs covers the general networking side if you want to go deeper.
How a CDN delivers a live stream, step by step
- Ingest. Your encoder (OBS, vMix or a hardware unit) sends one stream to your streaming server over RTMP or SRT.
- Packaging. The origin turns that stream into HLS: a playlist plus segments a few seconds long.
- First request. A viewer in Madrid presses play. The player asks the CDN for the playlist and the first segments. The nearest CDN server, called an edge, does not have them yet, so it fetches them from the origin and keeps a copy.
- Everyone after that. The next viewers served by that edge get the same segments from its cache, without touching the origin.
- Refresh. On a live stream the playlist changes every few seconds, so the CDN keeps it only briefly. Segments never change once written, so they can stay in cache much longer.
The multiplier effect
Picture 2,000 people watching from the same region. Without a CDN, the origin sends every segment 2,000 times. With one, it sends each segment to that edge roughly once, plus a steady trickle of tiny playlist requests. How much load actually leaves the origin depends on how many edges your audience reaches, how caching is configured and how many qualities you deliver, so measure it on your own stream instead of trusting a ratio from a brochure.
What CDN bandwidth means, and how much a stream uses
"CDN bandwidth" gets used for two different things. On an invoice, it means the volume of data the CDN delivered to your viewers, counted in gigabytes or terabytes. In capacity planning, it means throughput at your busiest moment, counted in megabits or gigabits per second. You need both numbers.
The arithmetic is simple: one megabit per second sustained for an hour is 0.45 GB. Multiply by the bitrate each viewer actually receives:
| Quality | Typical H.264 bitrate | Data per viewer per hour |
|---|---|---|
| SD (480p) | 1 to 1.5 Mbps | 0.45 to 0.7 GB |
| HD (720p) | 2.5 to 4 Mbps | 1.1 to 1.8 GB |
| Full HD (1080p, 30 fps) | 4.5 to 6 Mbps | 2 to 2.7 GB |
| Full HD (1080p, 60 fps) | 6 to 8 Mbps | 2.7 to 3.6 GB |
Standard definition, by the way, is what streaming services call 480p (576p in countries that used the PAL television standard). It still matters: it is the quality a phone on a weak mobile connection falls back to, and it costs roughly a quarter of what 1080p costs to deliver.
Now the capacity side. A thousand simultaneous viewers at 3 Mbps need 3 Gbps leaving the network at the peak, and those same viewers watching for two hours add up to 2.7 TB. A single server's network port puts a hard ceiling on the first number; a CDN spreads it across many machines in many places. Our guide on CDN cost for video streaming turns these figures into a monthly budget.
What a CDN does not fix
A familiar story: a stream buffers for everyone and the first idea is to add a CDN. Before paying for one, separate the three jobs in the chain. Your encoder sends the signal, the server packages it, the CDN delivers it. A CDN only helps with the third.
- Upload at the venue. If your connection cannot sustain the bitrate you send, the stream stutters at the source and every viewer gets the same stutter.
- An overloaded encoder. Frames dropped by a computer running at full CPU are missing before the video ever leaves the building.
- Latency. A CDN does not turn standard HLS into a low-latency stream. Delay comes from segment length and player buffers, and cutting it is a protocol choice (LL-HLS or WebRTC), not a delivery one.
- Bad encoder settings. A keyframe every 10 seconds or a variable bitrate that spikes will hurt on any network.
A useful test: if the problem hits everyone at the same moment, look upstream. If it affects only viewers in one region or on one network, delivery becomes the suspect, and a CDN may be the answer.
Multi-CDN and failover: what it really takes
Large broadcasters split traffic across two or more CDNs so that a problem with one provider in one region does not take the stream down. It works, but it does not come from signing two contracts. Someone has to detect the failure, decide the switch (in the player, in DNS or in a traffic steering service), keep caching rules and access tokens in sync on both networks and rehearse the whole thing.
To be clear about our side: XtreamCast keeps each channel on one origin, and Global CDN distributes it through the CDN providers we work with. We do not offer automatic failover between CDNs or between origins. If your event needs that level of protection, our guide to live stream failover and redundancy explains which layers you can protect yourself and when you need a different architecture altogether.
Do you need a CDN? A test beats a rule of thumb
There is no viewer count at which a CDN becomes mandatory. The useful questions are whether your viewers, on their real networks, start fast and play without stalls, and whether your origin has room at your peak. Distance alone does not predict buffering, but these are the situations where a CDN most often pays off:
- your audience is spread across continents, or concentrated far from your origin;
- you expect sharp peaks (a final, a launch, a big announcement) rather than a steady audience;
- viewers in one region report slow starts while everyone else is fine.
Then compare playback with and without the CDN layer, using the same stream and the same devices. Write down what you test, so the comparison means something:
| What to record | Why it matters |
|---|---|
| Date, protocol, bitrate and duration of the stream | So you compare like with like |
| Country, internet provider, device and browser of each test viewer | Buffering is local, and averages hide it |
| Time to first frame, stalls and errors | That is what viewers actually feel |
| Plan, add-ons and transfer used | So the decision includes the cost |
Keep in mind that a well-tuned player hides a lot. On XtreamCast, the standard HLS player keeps about 30 seconds of margin on purpose, which absorbs drops on the viewer's own connection before they turn into buffering.
How it works on XtreamCast
Every channel streams from one of our own video origins, in Chile or North America, and Player Advance™, the embeddable player, plays the HLS stream on your website. Global CDN is a paid add-on of USD 20/month on top of a video plan (Max+ comes with it enabled): it puts CDN edges between the origin and your viewers. It does not change what you send from the encoder, and it does not make the monthly transfer unlimited. What viewers download still counts toward your plan's allowance: 1, 2, 3 or 6 TB on Started+, Scale+, Pro+ and Max+, as listed on the video plans page.
Delivery and quality are separate decisions. A CDN moves the same video closer to viewers; XtreamTranscoder creates lighter versions of it (720p, 480p and 240p next to your original) so a phone on a weak connection keeps playing. Plenty of channels need the second before the first. And if you are putting the player on your own site, our guide to embedding a video player covers the code and the mistakes that break it.
Bring your stream closer to a global audience
Global CDN adds edge delivery to your XtreamCast channel on top of a paid video plan. Test playback from your viewers' networks first, then decide.