How Internet Television Works, End to End

Once you know how internet television works, most streaming problems stop being mysterious. The chain between a broadcast source and your sofa has about six links in it, each with its own failure mode, and the symptoms on screen tell you roughly which link is struggling. This is the slightly more technical tour, still in plain language, for anyone who wants to understand what is happening rather than just restart the router.
We will follow one channel from the encoder to the screen and stop at each stage.
How internet television works, in one paragraph
A broadcast feed is compressed into several quality versions, each one cut into short segments and written out as ordinary files. A small index lists what exists. Copies are pushed to servers near the audience. Your player reads the index, requests segments one after another, holds a few seconds in reserve and decodes them for the screen, climbing up or stepping down the quality levels as your connection allows. Everything below is that paragraph slowed down.
Encoding and the bitrate ladder
Video arrives at the provider as a raw or lightly compressed feed, which is far too large to send to thousands of homes. An encoder compresses it, and it does so several times over at different quality levels. That set of versions is called a bitrate ladder.
A typical ladder might run from a low rung suitable for a phone on mobile data, through a couple of standard definition rungs, up to HD at around eight to ten megabits and 4K at around twenty five. Every rung is the same programme, encoded to a different size. The codec matters here too: newer codecs such as HEVC and AV1 carry the same picture in noticeably less bandwidth than the older H.264, which is why a modern 4K stream is less demanding than it would have been a few years ago.
Segmenting, and the manifest that lists the pieces
Each rung of the ladder is then cut into short segments, usually between two and ten seconds long, and written out as ordinary files on a web server. A live channel produces new segments continuously and discards old ones; an on-demand programme has its full set sitting there from the start.
Alongside the segments sits a small text file, the manifest, which is the index to everything. In the HLS format this is an M3U8 file; in the DASH format it is an MPD. Either way it lists the available quality rungs and the segments that make up each one. Your player downloads the manifest first, then starts requesting video. If you have ever wondered why a playlist is a text file, this is why: the entire channel list sits on the same principle, as explained in what an M3U playlist is.
CDNs and edge servers
Serving every viewer from one data centre would be slow and fragile, so segments are copied out to a content delivery network: a spread of servers positioned near the audience. The ones closest to you are called edge servers, and in the UK that often means a facility in or near a major city rather than in another country.
When your player asks for a segment, it is directed to a nearby edge. The shorter round trip means segments arrive faster and more consistently, and if one edge is busy or offline another can take over. This is also where capacity planning happens. A provider that has not bought enough edge capacity for the connections it has sold will serve you perfectly at lunchtime and poorly at nine in the evening, which is the single most common reason a cheap service disappoints.
Adaptive bitrate, and the buffer that hides problems
Your player is not a passive receiver. It measures how quickly each segment arrives, keeps a running estimate of the bandwidth it can rely on, and picks the rung of the ladder it thinks it can sustain. When throughput falls it steps down to a smaller version; when conditions improve it climbs back up.
That is why a stream softens for a few seconds rather than stopping dead. The picture you are seeing is a lower rung of the same ladder, chosen deliberately to keep playing. Most people read it as a fault; it is actually the system working as designed.
Behind the switching sits the buffer, a handful of seconds of video held in reserve. It absorbs small interruptions silently, which is both its purpose and the reason faults feel so sudden. A three second dropout is invisible because the buffer covers it. Twenty seconds of congestion drains the reserve and the picture freezes with no warning at all, because nothing visible changed while the margin was being eaten. Our buffering guide works through the causes in order of likelihood.
The last mile, and contention at the cabinet
Segments now have to cross the final stretch to your house. On a full fibre connection that is a dedicated optical path and generally the least troublesome part of the chain. On a part-fibre connection, fibre reaches a street cabinet and copper covers the rest, which introduces both distance limits and a shared element.
Contention is the part worth understanding. Capacity at the cabinet and in the backhaul beyond it is shared between the premises it serves. During the evening peak, roughly seven to eleven, everybody draws on that capacity at once and your effective throughput can fall well below the figure on your bill. Nothing is broken; the road is simply busy. ISPreview is a good source for how UK lines and providers behave, and we examine the effect on viewing in why IPTV slows at peak hours.
Your own Wi-Fi, the usual weak link
Here is the uncomfortable part. Once you know how internet television works upstream, it is hard to avoid the conclusion that the stage most likely to ruin a stream is the last few metres inside your own house.
- Band. The 2.4 GHz band travels further but carries less and is crowded with everything from neighbours’ networks to baby monitors. The 5 GHz band is faster and cleaner over a shorter distance, and is what a television should be using.
- Router placement. A router in a cupboard, behind a television or on the floor behind furniture loses a great deal of signal. Out in the open and off the ground is worth more than most upgrades.
- Competing devices. A phone backing up photos or a console downloading a game will take whatever capacity it can get. Both are invisible until the television stutters.
- A cable. If the television can reach the router with an Ethernet cable, use one. It removes an entire category of problem for the price of a cable.
Work out what your line needs to sustain before you blame anything: around ten megabits per HD stream and twenty five for 4K, as covered in internet speed for IPTV, and more again if two people are watching. If 4K is the goal, the figures in bandwidth for 4K IPTV are the ones to plan around. On our side of the chain, capacity is what the plan prices are paying for.
Frequently asked questions
Why does the picture go soft and then recover?
Your player detected less available bandwidth and stepped down to a lower rung of the encoding ladder to keep playing, then climbed back up when conditions improved. It is adaptive bitrate working correctly. If it happens constantly, something upstream of the player is limiting throughput.
What is a manifest file?
It is the small text index your player reads before any video. It lists the available quality levels and the segments that make up the stream, so the player knows what exists and where to request it from. In HLS it is an M3U8 file; in DASH it is called an MPD.
Does a faster broadband package guarantee a better stream?
No. Beyond the bandwidth a stream needs, extra speed does nothing for picture quality. Steadiness matters far more than peak speed, and most faults sit in household Wi-Fi or in provider capacity rather than in the size of your package.
Why is live television a few seconds behind?
Encoding takes time, each segment must be complete before it can be served, and your player holds several seconds in reserve. Added together that is usually somewhere between five and thirty seconds, depending on how short the provider has made its segments.
Putting it together
Encode, segment, index, distribute to the edge, adapt, buffer, then cross your own network to the screen. That, in order, is how internet television works. Everything upstream of your front door is generally well engineered and quietly reliable; the variables that decide your evening are your provider’s capacity and your own Wi-Fi. Fix the second, choose carefully on the first, and the rest of the chain looks after itself. Our home page sets out how we handle our end.
