SRT vs RTMP: which should you stream with?
Use SRT on any part of your stream’s journey that crosses a connection you don’t trust, and RTMP for the last hop into the platform. At a desk on a wired line, RTMP straight to the platform has always been fine. On mobile networks, send SRT to a studio or server that sits on a solid connection, and let that send RTMP on to the platform. Most streams on the move end up using both, one after the other.
What RTMP is good at
RTMP is the older of the two and it’s everywhere. Almost every platform gives you an RTMP address and a stream key, and almost every streaming app and camera can send to one. If you’ve ever pasted a stream key into OBS, you’ve used it.
On a steady connection it just works, with no settings to get wrong. That covers most streams from a desk, and there’s no reason to change them.
Where RTMP struggles
RTMP runs over a kind of connection that insists on delivering everything, in order. When a packet goes missing, everything behind it waits until that packet has been sent again and arrived. Losses are rare on a wired line, so you never notice.
On a mobile network they happen all the time. Each one holds up the queue, the delay builds, and the stream stutters, falls behind or drops. The connection is doing exactly what it was designed to do, but it wasn’t designed for live video over a network that loses packets all day.
What SRT does differently
SRT was made for video over unreliable networks. It sends without waiting for each packet to be confirmed, keeps a short buffer at the receiving end, and only asks again for the packets that went missing. If a missing packet turns up within the buffer’s window, it’s slotted back in and nobody sees anything. If it doesn’t, SRT moves on rather than holding up everything behind it.
At worst, a lost packet costs you a brief blemish, never a delay that keeps growing. On a connection that loses packets, that’s the difference between a stream that holds and one that falls over.
Latency, the SRT setting that matters
The size of that buffer is the latency setting, and it’s a trade-off. A bigger window gives lost packets more time to be recovered, so the stream is steadier, but it also puts you further behind real time.
A common starting point is about four times the round trip between you and the receiver, and more on a poor network. Wired links can manage with a fraction of a second, while mobile networks usually want a second or two. Your Lumbus studio shows the value to use next to its address, so you don’t have to work it out.
Watch the units. Devices count SRT latency in milliseconds, so two seconds is 2000, but command-line tools often want microseconds, where the same two seconds is 2000000.
Caller and listener
An SRT connection has a caller and a listener. The listener waits at a known address and the caller dials in. Out in the field you’re the caller, because your phone running Lumbus, or the streaming software on your laptop, dials your studio’s address. If a device asks which mode to use for an SRT address, choose caller.
What SRTLA adds
SRTLA is SRT with the connections added together. Each connection carries part of the stream and the receiving end reassembles it. It’s how bonding apps on a phone send one feed over several networks at once.
How the two fit together
Most platforms take RTMP. Whether one accepts SRT depends on the platform, and sometimes on your account, so check its settings before you rely on it. That’s why streams on the move usually run in two legs, SRT from you to a studio or server on a solid connection, and RTMP from there to the platform.
Lumbus Studio works this way. You send one feed, over SRT, RTMP or bonded SRTLA, and the studio sends your programme on to every platform you add. Your shaky connection only has to reach the studio, and the studio’s connection to each platform is the solid one, which stays up while yours comes and goes.
At a desk you might not need either. A laptop’s camera can go live from a browser tab with nothing to install, and the studio handles the rest.
More on StudioStudio
The whole production in a browser tab: guests, your brand, every platform at once, recordings.
Questions
Something else? Write to live@getlumbus.com.
Is SRT better than RTMP?
Over an unreliable connection, yes, because it recovers lost packets without letting delay build up. Over a steady wired line there’s little between them, and RTMP is accepted everywhere.
Is SRT lower latency than RTMP?
Not by nature. SRT’s delay is whatever you set its latency to, and what your viewers experience is mostly decided by the platform rather than the protocol you send with.
What SRT latency should I use?
A common starting point is about four times the round trip to the receiver, and more on a poor network. On mobile networks that usually means a second or two. A Lumbus studio shows the value to use next to its address.
Do streaming platforms accept SRT?
Most take RTMP. Some accept SRT, sometimes only on certain accounts, so check the settings of the platform you stream to.
Can OBS send SRT?
Yes, OBS can send to an SRT address as well as an RTMP one. The quickest way to test a Lumbus studio from a desk is its RTMP address and key, entered as a custom streaming service.
What does caller mode mean in SRT?
The caller is the end that dials in and the listener is the end that waits. If you’re the one sending from the field, you’re the caller.
What is SRTLA?
SRT with the connections added together. Each connection carries part of the stream and the receiving end reassembles it. It’s how bonding apps on a phone send one feed over several networks.
Can I go live without SRT or RTMP software?
Yes. A laptop’s camera can go live from a browser tab with nothing to install, and your phone can stream with the Lumbus Live app. SRT and RTMP are for the software and cameras you already use.
Does Lumbus take SRT and RTMP?
Yes. Your studio has its own SRT, SRTLA and RTMP addresses from day one, one per source. Your phone, which is the encoder, sends through Bond, and a laptop, or a camera that streams by itself, sends whichever of the three it speaks.
