ENPTES Free trial

RTMP or SRT: which one to use

The two protocols do not compete for the same job. What decides is who receives the stream and how good the network between you is.

Short answer

Use RTMP, preferably RTMPS, to stream to a platform that gives you a server address and a stream key, which is how most social platforms work. Use SRT to carry video between two points you control, such as a reporter and the studio or two studios, especially over a network that loses packets. The first question is what the receiving end accepts. Many productions use both: SRT to bring signals in and RTMP to send the program out.

The main screen of NWK Live Production with Preview, Program and the status bar at the bottom
The main screen of NWK Live Production with Preview, Program and the status bar at the bottom
On this page
  1. RTMP and SRT side by side
  2. Choose RTMP when
  3. Choose SRT when
  4. When the answer is neither
  5. RTMP and SRT in NWK Live Production
  6. Related questions

RTMP and SRT side by side

RTMP / RTMPSSRT
TransportTCPUDP
When the network loses dataTCP sends again and holds everything behind; the delay grows and the encoder drops framesLost packets are asked for again within the latency you set; what does not arrive in time is dropped
Delay on the linkNot adjustable; grows when the network strugglesFixed, set in milliseconds on both ends
EncryptionRTMPS runs inside TLS; plain RTMP is not encryptedAES, turned on with a passphrase
What you configureServer address and stream keyAddress, port, caller or listener, latency, optional passphrase and Stream ID
Network setupAn outgoing connection; no port to open on your sideThe listener side needs a UDP port reachable from outside
Where it is acceptedAlmost every streaming platformServers, CDNs, broadcasters and equipment that publish an SRT address

What each protocol is and how it works is in RTMP: what it is and why it is still the standard and SRT: what it is and when to use it.

Choose RTMP when

  • The destination is a platform that shows a server address and a stream key. There is nothing to decide: use what the platform publishes, in the rtmps:// version when there is one.
  • You stream to several platforms at the same time. RTMP is what those platforms have in common.
  • The internet at the venue is stable and has upload to spare.
  • You cannot open ports on the network of the venue and the other end cannot either.

Choose SRT when

  • You bring a remote camera, a reporter or a second venue into the production over the internet.
  • You send the program from the event to a studio, a server or a broadcaster that will distribute it.
  • The network loses packets: mobile data, shared Wi-Fi, a long link between cities. The latency setting lets you trade a little more delay for a stream that holds.
  • You need the delay on the link to be known and constant, for example to keep two contributions in step.

SRT needs the two ends configured to match: same port, same latency, same passphrase. Agree on these values before the event and test on the real link.

When the answer is neither

Between computers on the same local network, with cable, neither protocol is the natural choice. NDI® finds the sources on the network by itself and is the usual choice there: see NDI®: video over the local network.

The delay the audience sees on a platform depends mostly on how the platform prepares and delivers the stream. Changing the protocol of your upload changes little of that delay. If the problem is the venue's upload, no protocol creates bandwidth that is not there; lower the bitrate first.

RTMP and SRT in NWK Live Production

NWK streams with both. A destination can be a platform template or Custom (RTMP/RTMPS), with server address and key, or an SRT destination in two forms: “SRT (send to a server)” and “SRT (wait for connection)”. Destinations of both kinds can be on in the same stream. See add a destination and stream over SRT.

On the way in, NWK receives SRT as an input, in caller or listener mode, with Latency (ms), Password and Stream ID. See receive video over SRT.

Related questions

Can I stream to YouTube or Facebook with SRT?

Use the address the platform shows in its live control page. Social platforms normally give an RTMP or RTMPS server address and a key. Use SRT only if the platform publishes an SRT address for your account.

Does SRT need less upload than RTMP?

No. The bitrate of the video is the same in both. SRT also resends lost packets, so it needs some headroom for those. What changes is how each protocol behaves when the network fails.

Can one production use RTMP and SRT at the same time?

Yes. A common setup receives remote cameras over SRT and sends the finished program to the platforms over RTMP or RTMPS.

In the NWK help center

Sources and references

Written and reviewed by the NWK Live Production team (Setor 360 Tecnologia e Eventos Ltda). Published .

NWK streams to RTMP, RTMPS and SRT destinations and receives SRT inputs in the same production.

Try NWK free for 7 days