Developer & API

RTMP

Also known as: Real-Time Messaging Protocol, Streaming protocol

3 min read·Updated 2026-05-06

Quick definition

RTMP (Real-Time Messaging Protocol) is the standard protocol for sending live video streams to streaming platforms — YouTube Live, Twitch, Facebook Live, custom streaming infrastructure. Streaming software (OBS, FFmpeg) connects via RTMP to push video data to the platform's ingest server in real time.

What is RTMP?

RTMP (Real-Time Messaging Protocol) is the standard protocol used for sending live video and audio streams to streaming platforms. Originally developed by Macromedia (later Adobe) for Flash Player streaming in the early 2000s, RTMP became the de-facto standard for live broadcasting because it's reliable, supports continuous streams, and is widely supported across encoding software and platforms. Major streaming platforms (YouTube Live, Twitch, Facebook Live, LinkedIn Live, custom streamers) all accept RTMP ingest as the primary upload method.

RTMP works by establishing a persistent TCP connection from the encoder (OBS, FFmpeg, hardware encoders) to the platform's ingest server. The encoder packages video/audio in chunks and pushes them continuously over the connection; the platform ingests, transcodes (multiple resolutions for adaptive playback), and distributes to viewers in near-real-time. Latency is typically 5-30 seconds end-to-end depending on platform configuration.

RTMP vs WebRTC vs HLS

Three live-streaming protocols, used differently. RTMP — encoder-to-platform ingest (push direction). WebRTC — browser-based peer-to-peer streams, ultra-low latency (sub-second), used for video calls and interactive streaming. HLS (HTTP Live Streaming) — platform-to-viewer playback (chunks served via HTTP), used for adaptive-bitrate viewer-side streaming. The typical broadcast pipeline: encoder → RTMP → platform → HLS → viewer browser. RTMP is the upload protocol; HLS is the playback protocol.

RTMP has been declared 'deprecated' by some observers because Adobe stopped formal development and Flash Player itself was retired. In practice, RTMP remains the most reliable and most-supported live ingest protocol in 2026. Platforms accept it; encoders push it; the protocol works. Replacements (SRT, WHIP/WebRTC ingest) exist but adoption is uneven.

Frequently asked questions

Do I need to know RTMP details to live-stream?+

No — most live-stream tools (OBS Studio, Streamyard, Restream) handle RTMP transparently. You paste a stream key from the platform; the tool handles the protocol. RTMP details only matter if you're building custom streaming infrastructure.

What's an RTMP stream key?+

A unique authentication credential the platform issues for your stream. The encoder uses the stream key to authenticate against the platform's ingest server. Stream keys are sensitive — anyone with your key can stream to your channel.

Can I stream to multiple platforms via RTMP simultaneously?+

Yes via tools like Restream or by running multiple RTMP outputs in OBS. Each platform accepts its own RTMP connection; multi-streaming tools fan-out the same source to many destinations. CodivUpload's 24/7 streaming infrastructure includes multi-platform RTMP fanout for Pro and above.

Is RTMP secure?+

Standard RTMP is unencrypted; RTMPS (RTMP over TLS) adds encryption. Most modern platforms support RTMPS. For sensitive content or production-grade streaming, prefer RTMPS over plain RTMP.

Managed 24/7 RTMP infrastructure

CodivUpload's Pro plan runs RTMP ingest + FFmpeg loop + watchdog reconnect for continuous YouTube streaming. Build a faceless 24/7 channel without managing RTMP yourself.

See live streaming details

Read next

Related glossary terms

Back to all 209 glossary terms