Skip to content

Official website: ottoceean.com. We only sell here and through our WhatsApp chat.

Streaming protocols

SRT, UDP multicast, RTMP or HLS: choosing an encoder output

Your encoder can compress a picture perfectly and still fail if it sends it the wrong way. Each output protocol works in different places and adds a different delay.

  • Updated Nov 19, 2026
  • 4 min read
  • Protocols

Quick answer

For the lowest delay use UDP multicast inside your own network (under a second) and SRT across the internet (about 0.5-3 seconds). RTMP is for pushing to YouTube or Facebook, and HLS reaches apps and browsers at scale but adds 10-30 seconds unless you use low-latency HLS.

On this page
  1. What you need to know
  2. Why does the output protocol matter?
  3. How do SRT, UDP multicast, RTMP and HLS compare?
  4. What is UDP multicast used for?
  5. What is SRT and when should you use it?
  6. When should you use RTMP?
  7. When should you use HLS?
  8. Which encoder output should you choose?
  9. Frequently asked questions
Latency of UDP multicast, SRT and HLS encoder outputs compared

What you need to know

  • UDP multicast: under 1 second, but only inside a network you control.
  • SRT: about 0.5-3 seconds across the public internet.
  • RTMP: for pushing to YouTube, Facebook or a server, not for viewers.
  • HLS: plays almost everywhere but adds 10-30 seconds (2-5 with low-latency HLS).
  • Most encoders can send several outputs at once.

Why does the output protocol matter?

Because delivery depends on where the viewers are. Every IPTV encoder has two jobs: compress, then deliver.

A TV on the same hotel network, a studio in another country and a phone on 4G each need a different transport, and most encoders can send several at once.

How do SRT, UDP multicast, RTMP and HLS compare?

Multicast is fastest inside a network, SRT is the low-delay choice over the internet, and HLS reaches the most devices with the most delay.

ProtocolBest forWorks over internet?Typical latencyWatch out for
UDP multicastMany TVs on one private networkNo< 1 sNeeds IGMP snooping on switches
UDP / RTP unicastOne receiver, point to pointPoorly (no recovery)< 1 sPacket loss shows as glitches
SRTContribution over the internetYes0.5-3 sSet latency at about 3-4× round-trip time
RTMP / RTMPSPushing to YouTube, Facebook, serversYes2-5 sH.264 only on most platforms
RTSPVMS, security systems, some playersRarely< 1 sFirewall-unfriendly
HLSApps, browsers, phones at scaleYes10-30 s (LL-HLS: 2-5 s)Delay; needs a web server/CDN

What is UDP multicast used for?

Putting channels on many TVs inside one hotel, campus or building. The encoder sends one copy of each channel to a group address such as 239.10.10.1:1234.

TVs and set-top boxes "join" the group they want, and switches with IGMP snooping forward the stream only to those ports. Ten or a thousand rooms, the channel crosses each link once.

  • Use the 239.x.x.x (administratively scoped) range and document one address per channel.
  • Set a TTL high enough to cross your routed VLANs (often 5-16), but keep it inside your network.
  • Constant bitrate (CBR) keeps multicast traffic predictable.

What is SRT and when should you use it?

SRT (Secure Reliable Transport) is the modern choice for sending a live feed across the public internet. It sends video over UDP but adds retransmission of lost packets, AES encryption and timing control.

Use it to send a feed from a venue to a studio, cloud server or IPTV headend.

  • Modes: caller (encoder dials out), listener (encoder waits) or rendezvous. Caller from the venue is easiest through firewalls.
  • Latency setting: start at 3-4 times the round-trip time between the two ends (e.g. 120 ms RTT → 400-500 ms).
  • Passphrase: always set one; it enables encryption.

When should you use RTMP?

To push a live stream to YouTube, Facebook or a streaming server. RTMP is old but still the common language of live platforms.

Enter the platform's server URL and stream key in the encoder, and it pushes the stream. Use RTMPS (TLS) where supported. RTMP is for ingest; viewers do not watch RTMP directly.

When should you use HLS?

When phones, apps and browsers need to watch from anywhere, at scale. HLS cuts the stream into short files listed in an .m3u8 playlist, served over normal HTTPS.

It plays almost everywhere and scales through CDNs, which is why most OTT services use it. The trade-off is delay; low-latency HLS reduces it.

If you have ever opened an .m3u8 link in VLC, you have used HLS. Our M3U explainer covers the playlist side.

Which encoder output should you choose?

Multicast inside the building, SRT to a studio, RTMP to platforms, HLS to phones and browsers.

You need to…Use
Put channels on TVs in the same buildingUDP multicast
Send a live feed from a venue to a studio or cloudSRT
Go live on YouTube, Facebook or TwitchRTMP / RTMPS
Let phones and browsers watch anywhereHLS (via a server or CDN)
Feed a security or video-management systemRTSP

Most real projects combine two: multicast inside the building plus SRT or RTMP to the outside world. When shopping, check the encoder can run those outputs at the same time (see the encoder buying checklist).

Frequently asked questions

What is an SRT encoder?

An encoder that can send its stream using SRT (Secure Reliable Transport), an open protocol that recovers lost packets and encrypts the stream, so live video survives the public internet with low delay.

Why can't I use UDP multicast over the internet?

Because multicast is not routed across the public internet. It works inside networks you control (LAN, campus, operator network). For the internet use SRT, RTMP or HLS.

Is RTMP still worth using?

Yes, for pushing to platforms like YouTube, Facebook and Twitch, which still accept RTMP/RTMPS ingest. It is not a good choice for viewers to play directly.

Which protocol gives the lowest latency?

UDP multicast on a LAN (well under a second), then SRT (typically 0.5-3 s depending on the latency buffer you set). Standard HLS adds 10-30 s; low-latency HLS brings that down to a few seconds.