Short answer
RTMP (Real Time Messaging Protocol) is the protocol that carries live video and audio from the streaming program to a platform such as YouTube, Facebook or Twitch. It runs over TCP, so everything sent arrives complete and in order. RTMPS is the same protocol inside an encrypted TLS connection. RTMP is still the standard because almost every platform accepts it with only a server address and a stream key.

On this page
What RTMP does
Adobe's specification describes RTMP as an application-level protocol that multiplexes and packetizes audio, video and data over a transport protocol such as TCP. In practice the encoder opens one connection to the platform's server and sends video, audio and control messages on it, each with its timing information.
The protocol came from the Flash era, when the same connection also played video in the browser. That use is gone. Today RTMP does one job: the first leg, from the encoder to the platform. The platform then converts the stream to other formats to deliver it to viewers.
Server address and stream key
An RTMP destination has two parts.
- Server address: starts with rtmp:// or rtmps:// and says where the stream goes.
- Stream key: identifies your channel or event on that server. Anyone who has the key can stream to your channel, so treat the key as a password.
RTMPS is RTMP over a TLS connection. YouTube Help describes it as a secure extension of RTMP that provides encryption. When the platform offers both addresses, use the rtmps:// one.
What TCP means for a live stream
The specification says that, used with a reliable transport such as TCP, RTMP guarantees timestamp-ordered delivery of all messages. Nothing arrives broken. The cost appears when the network slows down: TCP holds the data and sends it again, a queue builds up in the encoder, and the encoder has to drop frames to catch up. If the queue grows too much, the connection falls and the program reconnects.
This is why an RTMP stream needs upload speed with headroom. See How much upload speed a live stream needs for the calculation, and RTMP or SRT: which one to use for when a protocol built for bad networks is the better choice.
Limits of RTMP
- Codecs. YouTube's ingestion protocol comparison lists H.264 as the video codec for RTMP and RTMPS, and points to HLS when the stream needs HEVC or HDR. Enhanced RTMP, maintained by the Veovera Software Organization, adds codecs such as HEVC, VP9 and AV1 to the protocol, but each platform decides what it accepts.
- No recovery of its own. RTMP relies on TCP for lost data. It has no setting to trade delay for stability.
- Plain rtmp:// is not encrypted. Video and key travel in the clear. RTMPS fixes that.
RTMP in NWK Live Production
In NWK a destination is a server address and a key. There are ready-made templates for YouTube, Facebook, Instagram and Twitch, and a Custom (RTMP/RTMPS) template for any other platform or for your own server: paste the address, which starts with rtmp:// or rtmps://, and the key the platform shows. See add a destination.
Several destinations can be on at the same time, and Check before going live tests the server address before the stream starts. The key itself is only checked when the video starts to go. When a destination refuses to connect, the warnings are explained in the destination doesn't connect.
Related questions
Is RTMP outdated?
For playback, yes: browsers no longer play RTMP. For sending the stream from the encoder to the platform it is still what most platforms ask for, usually as RTMPS.
What is the difference between RTMP and RTMPS?
RTMPS is RTMP inside an encrypted TLS connection. The stream is the same; the server address starts with rtmps:// and the video and the key do not travel in the clear.
Does RTMP add delay for the viewer?
The delay a viewer sees comes mostly from how the platform prepares and delivers the stream. The RTMP leg adds delay when the network cannot carry the bitrate and data queues up in the encoder.
In the NWK help center
- Add a destination
- The stream destination doesn't connect
- Stream to several destinations at the same time
- Check everything before going live
Sources and references
- Adobe's Real Time Messaging Protocol specification (December 21, 2012), hosted by Veovera
- Veovera Software Organization: Enhanced RTMP
- YouTube Help: encrypt your stream using RTMPS
- YouTube Live Streaming API: ingestion protocol comparison
Written and reviewed by the NWK Live Production team (Setor 360 Tecnologia e Eventos Ltda). Published .
NWK streams over RTMP and RTMPS to several destinations at once and tests the server address before you go live.
Try NWK free for 7 days

