StreamLive Pro

RTMP and stream keys: where to find them, what breaks

RTMP, RTMPS, SRT, WHIP and RTSP in plain words, where the stream key is on YouTube, Facebook, Twitch and Kick, how to reset it, and the usual errors.

Updated · 9 min read

To send video from OBS, vMix or a hardware encoder to YouTube, you need two strings: a server address that starts with rtmp:// or rtmps://, and a long random stream key. The address says where the video goes. The key says which channel it belongs to. Anyone who has both can broadcast on your channel, which is why the key is treated like a password and why every platform has a reset button for it.

This guide explains the protocols in plain words (RTMP, RTMPS, SRT, WHIP, and RTSP, which is a different thing), where to find the key on YouTube, Facebook, Twitch and Kick, what is different about Instagram and TikTok, and the errors that stop a stream from connecting.

The protocols, in plain words

A protocol is the agreed way two machines talk. For live video you meet five of them.

ProtocolDirectionTransport and usual portWhere you meet it
RTMPPush: your encoder sends to a serverTCP, port 1935The default ingest for most platforms; every encoder supports it
RTMPSPushRTMP inside TLS encryption, usually port 443Same as RTMP but encrypted; required by some platforms (Meta's live API uses rtmps:// addresses)
SRTPush or pullUDP, port set by the serverUnstable or long-distance links; broadcast contribution
WHIPPushWebRTC over HTTPSVery low latency ingest; newer, support is growing
RTSPPull: a client asks a camera for videoUsually TCP port 554IP and security cameras; not accepted as ingest by YouTube and similar platforms

RTMP (Real-Time Messaging Protocol) is old, simple and supported by everything. It runs over TCP, so lost data is resent, which is reliable on a good line but causes stalls on a bad one.

RTMPS is RTMP wrapped in the same encryption as HTTPS. It does two useful things: nobody on the network path can read your key, and it usually runs on port 443, which almost no network blocks. If a platform offers both, use RTMPS.

SRT (Secure Reliable Transport) runs over UDP and resends lost packets within a time window you choose (the latency setting). On a shaky mobile or long-distance link it recovers from packet loss better than RTMP. The cost is a few hundred milliseconds of extra delay and slightly more setup. In SRT, the "key" is often part of the address itself (a streamid parameter), not a separate field.

WHIP sends video using WebRTC, the same technology video calls use. Latency is very low. Encoder support is newer: recent OBS versions have it, many tools do not yet.

RTMP vs RTSP

These are often confused because the names are close. They solve opposite problems.

You cannot paste an RTSP camera address into YouTube. Something in the middle has to pull the RTSP feed and push it out as RTMP or SRT: OBS (add the camera as a media source), vMix, a media server, or an encoder box. If your camera has both an RTSP address and an "RTMP push" setting, the RTMP push can go straight to a platform or relay.

Server URL and stream key

Every platform gives you the same two parts:

Some encoders take one combined URL (server + "/" + key). If yours does, join them with exactly one slash and no spaces.

Persistent keys vs per-event keys

YouTube lets you create reusable custom keys. Facebook's keys are single-use unless you turn on a persistent key. Twitch and Kick give each channel one key that stays until you reset it.

Why a stream key is a password

The key is the only thing that ties an incoming stream to your channel. There is no second check. If it ends up in a screenshot, a shared OBS profile, a public repository or a tutorial you recorded, anyone can broadcast on your channel, including content that gets the channel struck.

What to do:

  1. Never show it on screen. OBS and most tools mask it; do not click "Show" while recording or streaming your screen.
  2. Do not send it in group chats. If an operator needs it, give it to them directly, and reset it when they stop working with you.
  3. Reset it if it may have leaked. Then update every encoder that used it.

Resetting on YouTube, per YouTube's help: in YouTube Studio click Create, then Go live, open the Stream tab, find the stream key section and click Reset next to the hidden key. Copy the new key into your encoder. Only channel owners and managers can reset a key; editors and viewers cannot. Source: Manage live stream settings.

Where to find the key on each platform

Checked on each platform's own help pages, 4 November 2026. Menus move, so if a label differs, look for "stream key" in the platform's settings.

PlatformWhere the key isResetSource
YouTubeYouTube Studio: Create, Go live, Stream tab. Your previous settings and key load if you have streamed before. Reusable keys: Select stream key, Create new stream keyReset next to the hidden key (owners and managers only)Create a live stream with an encoder, Manage live stream settings
FacebookLive Producer: choose streaming software; it shows a Server URL and a Stream key. A persistent stream key can be turned on in the setupSingle-use keys expire by themselves; reset a persistent key if it leaksGo live on Facebook using streaming software
TwitchCreator Dashboard, Settings, StreamReset on the same page; the key also resets when you change your passwordTwitch Stream Key FAQ
Kickdashboard.kick.com: Channel, Stream URL and KeyReset button; Kick does not keep the old key, so update your encoderHow to stream on KICK
Instagraminstagram.com on a computer: Create, Live video; professional accounts only. New key for every liveNot needed: each key is for one liveOur step-by-step
TikTokOnly on accounts TikTok has given stream key or LIVE Studio accessDecided by TikTokTikTok LIVE Safety Guide

A note on Facebook: Meta's help page did not load in full for us, so the Facebook row is based on Meta's own help and developer pages as indexed on 4 November 2026; check the labels in Live Producer itself.

Instagram and TikTok

Neither lets an outside app start a live for you. Both can receive a stream sent to a key they issue, but only to accounts they choose.

The full steps, with pictures, are in Live on Instagram and TikTok with a stream key.

SRT for bad networks

Use SRT when the line between you and the server is the weak point: a mobile connection at an outdoor event, a venue's shared Wi-Fi, a long international path. Set the latency to a few times the round-trip time to the server (many encoders show the round trip once connected); more latency gives SRT more time to recover lost packets. On a good office line, RTMP or RTMPS is simpler and works just as well.

SRT needs the destination to support it. YouTube, Facebook, Instagram and TikTok publish RTMP or RTMPS ingest addresses for encoders, so SRT usually goes to a relay or a media server, which then sends RTMP onward.

What goes wrong

SymptomLikely causeFix
Encoder says "failed to connect"The path is missing from the server URL ("/live2", "/app"), or there is a typo in the hostCopy the server URL again, whole
Connects, platform shows nothingKey pasted with a space or line break at the end, or the key went into the server fieldPaste the key again into the key field; check for a trailing space
Works at home, fails at the office or venuePort 1935 blocked by a firewallSwitch to the RTMPS address on port 443
Worked last week, fails todayKey was reset, or it was a single-use key (Facebook without a persistent key, Instagram)Get the current key
Stream drops when a second operator startsTwo encoders sending to the same keyOne encoder per key
Platform accepts, then complains about the streamKeyframe interval too long or bitrate too high2-second keyframes, bitrate within the platform's recommendation; see our bitrate guide
Live appears on the wrong channelKey copied from another channel or brand accountCheck which account you were signed in to when you copied it
Instagram receives, viewers see nothingGo live was not pressed in the Instagram tabPress Go live on Instagram too

Where StreamLive Pro fits

If you want one encoder to reach several networks, StreamLive Pro gives every broadcast its own address and key in RTMP, RTMPS and SRT (and WHIP in beta). You set OBS, vMix or Streamlabs to that one key, and our servers fan the stream out to the networks you connected: YouTube, Facebook, Instagram, TikTok, X, LinkedIn, Twitch, Kick, or any RTMP or SRT server. Your computer uploads one stream regardless of how many destinations. The keys for each destination are stored per destination, and Instagram and TikTok keys are saved encrypted and never shown again in full.

Limits worth knowing: external encoders open on a paid plan, not in the trial; the number of destinations at once depends on the plan, listed on the pricing page; and Instagram and TikTok still need a key from those networks for each live. More on the multistream page, and the setup in Streaming from OBS or vMix with RTMP.

Frequently asked questions

What is an RTMP server?

It is the address your encoder sends live video to, such as rtmp://a.rtmp.youtube.com/live2. Together with a stream key it tells the platform where the video goes and which channel it belongs to.

What is the difference between RTMP and RTSP?

RTMP pushes video from an encoder to a server. RTSP lets a player or recorder pull video from a camera. Platforms like YouTube take RTMP, so an RTSP camera needs OBS, vMix or an encoder in between.

Where is my YouTube stream key?

In YouTube Studio, click Create, then Go live, and open the Stream tab. The key is there with a copy button, and a Reset button if it may have leaked.

Can I get a TikTok stream key?

Only if TikTok has given your account stream key or LIVE Studio access. TikTok says creators must be 18 or older and that the follower requirement varies by market; no outside tool can grant access.

What should I do if my stream key leaked?

Reset it on the platform right away, then paste the new key into every encoder that used the old one. Until you reset it, anyone with the key can broadcast on your channel.

My stream fails at the office but works at home. Why?

Office networks often block port 1935, which plain RTMP uses. Use the platform's RTMPS address, which usually runs on port 443.

Keep reading

Streaming from OBS or vMix with RTMP

Where to find the server address and stream key, which encoder settings to use, and what to check when the connection is not picked up.

How to stream a game to Twitch, Kick and YouTube at once

Stream a game to Twitch, Kick and YouTube at once: OBS sends one stream, StreamLive Pro sends it on, plus chat, upload, platform rules and Shorts of your best moments.

What is an ingest server in live streaming?

What is an ingest server: the address your encoder sends a live stream to, with a stream key. How ingest differs from playback, what it checks, and where to find yours.

Connect PRISM Live Studio to StreamLive Pro

Add StreamLive Pro as a custom channel in PRISM Live Studio on the computer and send one stream to YouTube, Facebook Pages, Twitch and more: steps, settings and fixes.

Want to try it? 7-day trial, no credit card.

Start free
Mobile app Home Help Center Guides PrivacyTermsAccessibility