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
| Platform | Protocol on its help pages |
|---|---|
| Twitch | rtmp:// URL with the ingest server and key |
| YouTube | RTMP or RTMPS, RTMPS recommended; HLS also accepted |
| RTMPS | |
| RTMP 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.
| Part | Example shape | What it does |
|---|---|---|
| Protocol | rtmp:// or rtmps:// | Plain or encrypted connection |
| Server and app path | The platform's ingest host, then a path such as /app | Which ingest server receives the stream |
| Stream key | A long private string | Which 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
| Protocol | Who accepts it | Trade-off |
|---|---|---|
| RTMP and RTMPS | Twitch, YouTube, Facebook and LinkedIn, per their help pages | The default; runs over TCP, which resends lost data, so a lossy connection can stall the stream |
| SRT | Only servers that support it | Built to recover lost packets on unstable links |
| HLS ingest | YouTube | YouTube 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.
- Twitch Help: Twitch Stream Key FAQ, checked November 15, 2026
- YouTube Help: Choose live encoder settings, bitrates, and resolutions, checked November 15, 2026
- YouTube Live Streaming API: Delivering Live YouTube Content via HLS, checked November 15, 2026
- Veovera: Enhanced RTMP, checked November 15, 2026
- Kick Help: How to stream on KICK.com, checked November 15, 2026
- Meta Help: Requirements for Facebook Live videos, checked November 15, 2026
- LinkedIn Help: Go live using a custom stream (RTMP), checked November 5, 2026
- LinkedIn Help: LinkedIn Live troubleshooting, checked November 5, 2026
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 →