Streaming Reference

RTMP and RTMPS, explained

RTMP is the protocol most streaming software uses to send video to Twitch, YouTube, Facebook and others. YouTube recommends RTMPS, the encrypted form.

Published November 5, 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

Use the rtmps:// address wherever a platform offers one: RTMPS is RTMP with encryption. RTMP is the protocol most streaming software uses to send your stream to a platform. You give the encoder two things: a server URL beginning rtmp:// or rtmps://, which points to an ingest server, and a stream key. YouTube accepts both and recommends RTMPS, Meta lists RTMPS for Facebook Live, LinkedIn supports both, and Twitch's documented URL format uses rtmp://.

Protocol details from Twitch, Meta and LinkedIn help pages, checked on 4 and 5 November 2026. YouTube's encoder and HLS ingestion pages, the Enhanced RTMP project and Kick's streaming help page were read on 15 November 2026. Related terms are in the streaming reference section.

What RTMP does in a stream today

RTMP stands for Real-Time Messaging Protocol. It began as the protocol behind Flash video, and it outlived Flash because almost every streaming app and platform already spoke it.

Today it does one job: the first mile, from your encoder to the platform. Viewers don't watch your stream over RTMP. Once it reaches the ingest server, the platform repackages it into the formats its players use.

That's why the RTMP choice matters less than people expect. It decides how reliably your video reaches the platform, not how viewers receive it.

RTMP or RTMPS on each platform

PlatformProtocol on its help pages
Twitchrtmp:// URL with the ingest server and key
YouTubeRTMP or RTMPS, RTMPS recommended; HLS also accepted
FacebookRTMPS
LinkedInRTMP and RTMPS

Of the four, only YouTube recommends one form over the other, calling RTMPS a secure extension of RTMP. Facebook lists RTMPS alone, so there the choice is made for you.

Encryption protects the stream and the key inside the address while they cross the network. On public or shared Wi-Fi that's worth having. It doesn't change picture quality or delay in any way viewers would see.

Reading an RTMP address

An RTMP destination has two parts, and most apps ask for them in separate boxes.

PartExample shapeWhat it does
Protocolrtmp:// or rtmps://Plain or encrypted connection
Server and app pathThe platform's ingest host, then a path such as /appWhich ingest server receives the stream
Stream keyA long private stringWhich channel the video belongs to

In OBS's Custom service, the first two go in Server and the key goes in Stream Key. Twitch's documented format joins all three into one address. If you type the address by hand, rtmp:// where the platform gave rtmps:// can stop a correct key from connecting, so copy the server URL instead. An address can also carry a port number. Kick's help page tells LiveU users to add :443/app to the end of its stream URL, and 443 is the port encrypted web traffic normally uses.

Which codecs RTMP can carry

Classic RTMP was built around H.264 video and AAC audio. Enhanced RTMP is a specification maintained by the not-for-profit Veovera Software Organization. It extends RTMP with HEVC, AV1, VP8 and VP9 video, HDR, Opus and other audio codecs, and multitrack audio and video. Its project page names OBS, YouTube and Twitch among the organizations supporting it.

YouTube's encoder page shows what that means in practice. For HDR it recommends H.265 over RTMP or RTMPS. If your encoder can't send those formats over RTMP, YouTube suggests HLS instead. And 5.1 surround sound over RTMP is supported only with AAC. Support for the protocol extension doesn't mean every platform takes every codec, so check each platform's own encoder page before switching.

RTMP compared with SRT and HLS ingest

ProtocolWho accepts itTrade-off
RTMP and RTMPSTwitch, YouTube, Facebook and LinkedIn, per their help pagesThe default; runs over TCP, which resends lost data, so a lossy connection can stall the stream
SRTOnly servers that support itBuilt to recover lost packets on unstable links
HLS ingestYouTubeYouTube says it usually has higher latency than RTMP, but suits high-quality, high-resolution content; video must be H.264 or HEVC

YouTube's HLS ingestion guide is frank about the cost: segment-based delivery adds delay, and shorter segments lower it at the price of more rebuffering. For a chatty stream, RTMPS is still the better fit. HLS earns its place for HDR or premium broadcasts where a few extra seconds don't matter. The SRT entry explains what it does that RTMP doesn't.

Ports and firewalls

LinkedIn's troubleshooting page lists TCP ports 1935 and 1936, and 2935 and 2936 for RTMPS, for network administrators to open. A blocked port is one reason an encoder can't connect; the failed to connect guide covers the others, and the LinkedIn guide covers its RTMP setup. SRT is another protocol, for servers that accept it; OBS SRT streaming covers OBS's support. If the encoder won't connect on an office or school network, those four ports are the first thing to ask about.

RTMP and RTMPS questions

Should I use RTMP or RTMPS?

Use RTMPS where the platform offers it. YouTube recommends RTMPS, and Meta lists RTMPS for Facebook Live, so on those two it's the right choice by default. It encrypts the stream and your key in transit without changing quality or delay. Use plain RTMP only where it's the documented option, as in Twitch's URL format, or where a network blocks the RTMPS ports.

What is the difference between RTMP and HLS?

In live streaming, RTMP is usually how video travels from your encoder to the platform, and HLS is usually how the platform sends it on to viewers. YouTube also accepts HLS as an ingest option. Its guide says HLS ingest usually has higher latency than RTMP, because it sends video in segments, but suits high-quality and HDR streams.

Can RTMP carry HEVC or AV1?

With Enhanced RTMP, yes. The Enhanced RTMP specification adds HEVC, AV1, VP8 and VP9 video plus HDR to the original protocol, and lists OBS, YouTube and Twitch among its supporters. YouTube's encoder page recommends H.265 over RTMP or RTMPS for HDR. Whether a given platform accepts each codec is a separate question, so check its own encoder settings page.

What does RTMP stand for?

Real-Time Messaging Protocol. It began as Flash's video protocol and outlived Flash because nearly every streaming app already used it.

Do viewers watch streams over RTMP?

No. RTMP carries the stream from your encoder to the ingest server. The platform repackages it for its players.

Does Facebook Live use RTMP or RTMPS?

RTMPS only, according to Meta, so the encrypted address is the one to paste. YouTube and LinkedIn accept both.

What ports does RTMP use?

LinkedIn lists TCP 1935 and 1936 for RTMP, and 2935 and 2936 for RTMPS. Those are the first ports to ask about on a locked-down network.

What is Enhanced RTMP?

A specification from the Veovera Software Organization adding HEVC, AV1, VP8, VP9, HDR, Opus and multitrack to RTMP. OBS, YouTube and Twitch support the project.

Why won't my RTMP key connect when typed by hand?

Typing rtmp:// where the platform gave rtmps:// can stop a correct key from connecting. Copy the server URL rather than retyping it.

Does RTMPS improve stream quality?

No. It encrypts the stream and key in transit, which helps on shared Wi-Fi, but viewers see no change in picture or delay.

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 →