IPTV basics

How Does IPTV Work? From Server to Screen

Understanding the journey a stream takes makes it much easier to work out why something is buffering, and which part of the chain you can actually fix.

Updated Written by the IPTVSmart teamWe are the service provider, not an independent reviewer. Editorial policy

The journey in five stages

  1. Encoding. Video is compressed into a digital format small enough to send over the internet. The compression standard, or codec, determines how much quality survives at a given size.
  2. Packaging. The compressed video is cut into short segments, typically a few seconds each, and usually prepared at several quality levels.
  3. Delivery. Streaming servers send those segments to your device on request.
  4. Your connection. The segments travel through your broadband provider's network to your router, then over Ethernet or Wi-Fi to your device.
  5. Playback. A player app receives the segments, reassembles them in order, decodes them and draws the picture.

Why video is sent in segments

Sending video as a series of small files has two advantages. If one segment is delayed, only a few seconds are affected. And because each segment exists at several quality levels, the player can change quality from one segment to the next without stopping.

This is called adaptive bitrate streaming. When your connection is fast, the player requests high-quality segments. When someone else in the house starts a large download, it steps down to a lighter version to keep the picture moving, then steps back up. A brief softening of the picture is this system doing its job.

What a buffer is

A player does not show each segment the instant it arrives. It keeps a small reserve, the buffer, a few seconds ahead of what you are watching. If the network hiccups, the player draws on the reserve and you notice nothing.

“Buffering” is what happens when the reserve runs out: video is arriving more slowly than it is being played, so the player has to pause and refill. That is why buffering is almost always a delivery problem, and why the fix usually lies somewhere between the server and your device. See IPTV buffering: causes and fixes.

What the player app does

The player is the part you see. It has three jobs:

  • Sign in. It sends your subscription details to the service to confirm your account and your connection allowance.
  • Organise. It downloads the channel list and the programme guide and presents them as a TV guide. See what an EPG is.
  • Play. It requests segments, manages the buffer and decodes the video using your device's hardware.

The player itself contains no channels. It is a tool for playing a subscription, in the way a web browser is a tool for viewing websites.

Where simultaneous connections fit in

Each device that is actively playing holds one connection to the service. Your plan sets how many can be open at once. A device that has the app installed but is not playing does not use one. This is explained with examples in how many devices can use IPTV at once.

Which parts you control

StageWho controls itWhat you can do
Encoding and serversThe serviceReport problems with specific channels and times
Internet between server and homeNetwork operators and your broadband providerTest your speed; raise persistent issues with your provider
Home networkYouUse a cable, improve Wi-Fi, reduce competing traffic
Device and playerYouKeep them updated, restart them, clear the app's cache

The last two rows are where most problems begin, and they are also the two you can fix yourself.