IPTV Streaming Protocols Explained: HLS, MPEG-TS, Codecs and More
TS or HLS? H.264 or HEVC? A plain-English look under the bonnet of IPTV — and how the stream format affects what you see on screen.
- Author
- IPTVSubTV Editorial Team
- Published
- Updated
- Reading time
- 5 min read
Most of the time you never need to think about how an IPTV stream is packaged. But when a channel won't start, plays with stutter on one device and not another, or a player asks you to choose between "TS" and "HLS", a little background knowledge goes a long way.
This article explains the building blocks — transport formats, codecs, bitrates and delivery methods — and links each one to practical settings you can change. If you're new to IPTV, read what is IPTV first.
Quick answer
IPTV streams combine a codec (usually H.264 or HEVC) that compresses video, a container such as MPEG-TS, and a delivery method such as continuous HTTP or HLS segments. TS typically starts faster with less delay; HLS often copes better with unstable connections.
The three layers of an IPTV stream
Think of a stream as three nested layers, each with its own job:
| Layer | Job | Common examples |
|---|---|---|
| Codec | Compresses the picture and sound | H.264 (AVC), HEVC (H.265), AAC, AC-3 |
| Container / transport | Wraps audio, video and subtitles together | MPEG-TS, fragmented MP4 |
| Delivery protocol | Moves the data across the network | HTTP progressive, HLS, RTMP, multicast UDP |
A problem can sit in any layer. A device that can't decode HEVC fails at the codec layer; a player that mishandles HLS playlists fails at the delivery layer. Knowing which is which helps you pick the right fix.
MPEG-TS: the broadcast veteran
MPEG Transport Stream (TS) was designed for broadcast TV, where data can be lost in transit. It breaks the stream into small fixed-size packets and can carry several audio tracks and subtitles at once. Many IPTV services offer a continuous TS stream over HTTP: the player opens one connection and reads video as it arrives.
- Strengths: low start-up delay, very wide player support, efficient for long live viewing.
- Weaknesses: one long connection can be sensitive to brief network drops; recovery depends on the player's buffer.
HLS: chunks and playlists
HTTP Live Streaming (HLS) splits video into short segments — typically a few seconds each — and publishes a small playlist (an .m3u8 file) listing the latest segments. The player downloads the playlist, fetches segments one by one and refreshes the playlist as new ones appear.
- Strengths: resilient on unstable networks, works well through firewalls and on mobile, can offer several quality levels.
- Weaknesses: slightly higher delay behind live, because the player usually waits for a few segments before starting. Our article on IPTV delay explains the trade-off.
Should you choose TS or HLS in your player?
Many players let you pick the stream format in settings. There's no universally better option — it depends on your network and device:
| Situation | Try first | Why |
|---|---|---|
| Stable wired or strong Wi-Fi connection | TS | Fast channel changes and minimal delay |
| Wi-Fi that drops briefly, or mobile data | HLS | Segments recover more gracefully after dips |
| A channel won't start in one format | The other format | Some streams or devices handle one format better |
Our IPTV player settings guide shows where this option lives in popular apps.
Codecs: H.264 vs HEVC
The codec decides how much data is needed for a given picture quality. H.264 (AVC) is the long-standing standard, supported by virtually every device. HEVC (H.265) can deliver similar quality at a substantially lower bitrate, which is why it's the usual choice for 4K IPTV.
The catch: HEVC needs hardware decoding support. Most current streaming devices and TVs have it; older or budget devices may not, or may struggle with high-bitrate HEVC. If HD channels play perfectly but 4K channels stutter, the codec layer — not your internet — is often the reason. The best device for IPTV guide lists what to look for.
Audio codecs
Audio is usually AAC or MP2 for stereo, and AC-3 (Dolby Digital) or E-AC-3 for surround. If you get picture but no sound on certain channels, the device or player may not support that audio codec, or may be trying to pass it to a soundbar that can't decode it — see IPTV audio out of sync or missing.
Bitrate, resolution and frame rate
Bitrate is how much data a stream uses each second. Higher bitrate generally means better quality but needs more bandwidth. Resolution (720p, 1080p, 2160p) is the number of pixels, and frame rate (25, 30, 50 or 60 frames per second) affects how smooth motion looks — particularly noticeable with sport.
These three combine to determine how much internet speed a channel needs. Our internet speed guide turns them into practical numbers, and how much data IPTV uses translates them into gigabytes per hour.
Unicast vs multicast delivery
Internet IPTV services use unicast: each viewer receives their own copy of the stream. Some telecom operators run IPTV inside their own network using multicast, where a single stream is shared by everyone watching the same channel. Multicast is very efficient but only works inside a managed network, which is why it's used by ISPs bundling TV with broadband rather than by services delivered over the open internet.
What this means in practice
- If a channel won't play, try switching TS/HLS before anything else.
- If only 4K channels struggle, suspect HEVC decoding on the device.
- If sound is missing on some channels, check audio passthrough settings.
- If playback stalls on Wi-Fi, HLS plus a slightly larger buffer often helps — and so does a wired connection.
When something still isn't right, the IPTV troubleshooting guide walks through every symptom.
IPTV streaming protocols: frequently asked questions
Neither is better in every case. TS usually starts faster with less delay; HLS tends to cope better with unstable networks. Try both in your player and keep whichever plays more smoothly.
For most HD channels, no — they commonly use H.264. For 4K channels, HEVC hardware decoding is usually required for smooth playback.
It's the playlist format used by HLS to list a stream's video segments. It's related to, but different from, the M3U channel list your provider gives you.
The two devices may support different codecs or handle the stream format differently. Try switching between TS and HLS on the TV, or changing the decoder mode.
Conclusion
You rarely need to think about protocols — until a channel misbehaves. Then switching between TS and HLS, or between hardware and software decoding, is usually the quickest fix.
Put this into practice with IPTV player settings explained and the 4K IPTV requirements, or explore more in IPTV Basics.