Streaming Reference

SRT, the protocol for streams that cross bad networks

SRT is an open-source protocol that resends lost packets inside a latency window you set. When it beats RTMP, and why most platforms still ask for RTMP.

Published November 14, 2026Updated November 18, 20266 minute readBy WaveSync Staff
Illustration of glass bar charts rising beside a line graph and a ring chart
In this guide

You only need SRT when the server you're sending to asks for it. YouTube's encoder settings page, for one, names RTMP and RTMPS, with HLS as the fallback for HDR. SRT, short for Secure Reliable Transport, is an open-source protocol Haivision created for sending live video over networks that lose packets. It holds a small buffer, and when a packet goes missing it asks for it again and gets it before the buffer runs out. That buffer is the latency setting, and choosing it is most of the work.

From Haivision's SRT pages and GitHub README, the SRT Alliance site, the OBS Knowledge Base and YouTube Help, read on 14 November 2026. The OBS guide, YouTube's encoder page, the GitHub README and Haivision's Makito X encoder documentation were read on 15 November 2026. Related protocols and terms are in the streaming reference glossary.

What SRT adds over RTMP

From the Haivision/srt README and Haivision's SRT product page, read 14 November 2026.
What the SRT project says
Lost packetsRecovered, mainly by Automatic Repeat reQuest (ARQ): the receiver asks for missing packets and they're sent again
DelayHeld at a constant end-to-end latency, which you set
EncryptionAES at 128, 192 or 256 bits
FirewallsThe handshake supports outbound connections, so no permanent open port is needed on the outside
What it carriesPayload agnostic: any codec, resolution or frame rate

Encryption on its own isn't a reason to switch. RTMPS already encrypts the stream to platforms that offer it. Packet recovery is the real difference.

Why SRT runs over UDP

RTMP runs over TCP, which guarantees every byte arrives in order. When a packet is lost, everything behind it waits until the resend lands. On a clean line that's invisible. On a phone network dropping packets, the waiting piles up and the encoder's output backs up behind it.

SRT takes the other route. Its README describes it as offering the speed of UDP transmission with greatly improved reliability. UDP itself makes no promises about delivery, so SRT adds its own recovery on top. It only bothers to recover a packet while the latency window says there's still time to use it.

That's the design choice in one line: SRT would rather drop a packet that's too late than freeze the stream waiting for it.

The latency trade

SRT can only resend a packet while there's still time to use it. The latency value is that time. Set it too short and a lost packet arrives after its frame was due, so you get the glitch anyway. Set it long and every viewer waits that much more.

OBS's SRT guide gives a starting rule of at least 2.5 times the round trip between encoder and server, with 120 ms as the default. With an 80 ms round trip, that rule puts you at 200 ms, well above the default. Raise it further if the picture still breaks. On a clean wired line to a nearby server there's little loss to recover. SRT buys you little there. Stream latency covers the delay viewers see end to end, which SRT's buffer is only one part of.

SourceMinimum latency ruleUnits
OBS SRT guideAt least 2.5 times the round-trip time; default 120 msWritten in microseconds in the address: 120 ms is latency=120000
Haivision Makito X encoder docsAt least 3 times the round-trip time; range 20 to 8000 msMilliseconds in the encoder's settings

The units row is where people slip. In OBS, latency=200 means 200 microseconds, a fifth of a millisecond, not 200 ms. Haivision's encoder takes milliseconds. Check which one your app expects before you copy a value from a forum post.

Recovery also needs upload headroom. Haivision's docs describe a bandwidth overhead setting, 5 to 50 percent, reserved for resending lost packets, and warn that SRT streams may briefly overshoot it. If your bitrate already fills your upload, there's no room left to resend anything.

Where streamers meet it

  • A custom server or restream service that gives you an srt:// address. Streaming with SRT from OBS has the fields and the address options.
  • IRL streaming over phone networks, where packet loss is normal. Bonding tools such as SRTLA are built on SRT, and the IRL setup guide explains why they need a server in the middle.
  • Production software that takes remote feeds. vMix lists SRT feeds as an input and says it can output over SRT; vMix vs OBS compares it with OBS.

Between computers on the same local network, a different tool usually fits better: NDI is built for that.

Who maintains it

SRT's code is on GitHub under the Mozilla Public License 2.0, and the SRT Alliance FAQ calls it open source and royalty-free. Haivision founded the Alliance in 2017, after the protocol's open-source release. The Alliance's site says more than 700 companies rely on SRT, among them broadcasters, cloud platforms, device makers and streaming providers.

Our view: keep the RTMPS address your platform gives you. SRT is worth a look when you stream over a phone network or from far away, and only if the receiving end accepts it. If your platform only takes RTMP, SRT means running or renting a server that receives SRT and passes the stream on. Price that in before you start.

SRT questions

Is SRT better than RTMP for streaming?

On a network that drops packets, yes: SRT recovers them within the latency you set, where RTMP over TCP stalls waiting for resends. On a clean connection to a platform that documents RTMP or RTMPS, use what the platform documents. YouTube's encoder settings page doesn't mention SRT at all, so for YouTube the choice is made for you unless a relay sits in between.

Is SRT TCP or UDP?

UDP. The SRT project's README describes it as offering the speed of UDP with greatly improved reliability, because SRT adds its own recovery of lost packets on top. That matters for firewalls: a device in listener mode needs its UDP port reachable. Calling out to a server that listens, which is OBS's default, avoids opening anything on your home connection.

Is SRT free to use?

Yes. The SRT Alliance FAQ calls it open source and royalty-free, and the code is published on GitHub under the Mozilla Public License 2.0. OBS can send and receive it without a plugin. The cost, if any, is on the receiving end. A platform that only accepts RTMP needs a server or relay service that takes SRT and passes the stream on.

What latency should I set for SRT?

OBS suggests at least 2.5 times the round trip to the server, with 120 ms as the default. With an 80 ms round trip, that works out to 200 ms.

What units does OBS use for SRT latency?

Microseconds, in the address. 120 ms is written latency=120000; latency=200 would mean a fifth of a millisecond.

Does SRT encrypt the stream?

Yes, with AES at 128, 192 or 256 bits. RTMPS also encrypts, so packet recovery is the real reason to choose SRT.

Does YouTube accept SRT?

YouTube's encoder settings page names RTMP and RTMPS, with HLS for HDR. It doesn't list SRT.

How does SRT recover lost packets?

The receiver asks for missing packets and they're sent again, as long as they can still arrive within the latency window.

Does SRT need extra upload bandwidth?

Yes. Haivision reserves 5 to 50 percent overhead for resending lost packets, so an upload already full at your bitrate leaves no room.

Who uses SRT?

The SRT Alliance says more than 700 companies rely on it, including broadcasters, cloud platforms, device makers and streaming providers.

Sources

8 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

If you also stream on TikTok LIVE

WaveSync makes the interactive side easy

WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.

See how WaveSync works →