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.
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.
A protocol is the agreed way two machines talk. For live video you meet five of them.
| Protocol | Direction | Transport and usual port | Where you meet it |
|---|---|---|---|
| RTMP | Push: your encoder sends to a server | TCP, port 1935 | The default ingest for most platforms; every encoder supports it |
| RTMPS | Push | RTMP inside TLS encryption, usually port 443 | Same as RTMP but encrypted; required by some platforms (Meta's live API uses rtmps:// addresses) |
| SRT | Push or pull | UDP, port set by the server | Unstable or long-distance links; broadcast contribution |
| WHIP | Push | WebRTC over HTTPS | Very low latency ingest; newer, support is growing |
| RTSP | Pull: a client asks a camera for video | Usually TCP port 554 | IP 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.
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.
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.
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.
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:
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.
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.
| Platform | Where the key is | Reset | Source |
|---|---|---|---|
| YouTube | YouTube 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 key | Reset next to the hidden key (owners and managers only) | Create a live stream with an encoder, Manage live stream settings |
| Live Producer: choose streaming software; it shows a Server URL and a Stream key. A persistent stream key can be turned on in the setup | Single-use keys expire by themselves; reset a persistent key if it leaks | Go live on Facebook using streaming software | |
| Twitch | Creator Dashboard, Settings, Stream | Reset on the same page; the key also resets when you change your password | Twitch Stream Key FAQ |
| Kick | dashboard.kick.com: Channel, Stream URL and Key | Reset button; Kick does not keep the old key, so update your encoder | How to stream on KICK |
| instagram.com on a computer: Create, Live video; professional accounts only. New key for every live | Not needed: each key is for one live | Our step-by-step | |
| TikTok | Only on accounts TikTok has given stream key or LIVE Studio access | Decided by TikTok | TikTok 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.
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.
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.
| Symptom | Likely cause | Fix |
|---|---|---|
| Encoder says "failed to connect" | The path is missing from the server URL ("/live2", "/app"), or there is a typo in the host | Copy the server URL again, whole |
| Connects, platform shows nothing | Key pasted with a space or line break at the end, or the key went into the server field | Paste the key again into the key field; check for a trailing space |
| Works at home, fails at the office or venue | Port 1935 blocked by a firewall | Switch to the RTMPS address on port 443 |
| Worked last week, fails today | Key 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 starts | Two encoders sending to the same key | One encoder per key |
| Platform accepts, then complains about the stream | Keyframe interval too long or bitrate too high | 2-second keyframes, bitrate within the platform's recommendation; see our bitrate guide |
| Live appears on the wrong channel | Key copied from another channel or brand account | Check which account you were signed in to when you copied it |
| Instagram receives, viewers see nothing | Go live was not pressed in the Instagram tab | Press Go live on Instagram too |
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.
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.
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.
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.
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.
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.
Office networks often block port 1935, which plain RTMP uses. Use the platform's RTMPS address, which usually runs on port 443.
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 onceStream 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 ProAdd 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