Streaming Reference

Stream keys, explained

A stream key is the code your streaming software sends so a platform knows the stream is yours. YouTube likens it to a password and address. Keep it private.

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

Anyone with your stream key can stream to your channel. A stream key is a code you paste into OBS or another encoder, next to the platform's server address. It tells the platform which channel the video belongs to. YouTube describes stream keys as like your stream's password and address. That's why Twitch says never to share it or show it on stream. Platforms differ on how long a key lasts.

Definitions and platform rules from Twitch, YouTube, Meta and Kick help pages, first read on 4 and 5 November 2026. YouTube's, Kick's and Meta's pages were read again on 15 November 2026. Other definitions are in the streaming reference section.

Server URL and stream key, side by side

Every encoder asks for two values, and people mix them up. The server URL says where to send the video. The key says whose channel it belongs to.

Server URLStream key
Looks likeAn address starting rtmp:// or rtmps://A long string of random-looking letters and numbers
Who else has itEveryone streaming to that platform regionOnly you
If someone copies itNothing happensThey can broadcast to your channel
Changes whenRarely; you may pick a nearer serverYou reset it, or per stream on some platforms

YouTube puts the pair neatly: keys tell your encoder where to send your feed and let YouTube accept it. The URL half is a public address. Only the key needs guarding.

What a stream key does in OBS

In OBS Studio, the key goes in Settings, Stream, under Stream Key. Choose the platform as the Service, or pick Custom... and add the platform's server URL. Twitch's URL format shows the idea: the ingest server, then the key, in one address, usually sent over RTMP.

Kick's help page gives the Custom route step by step. Open File, Settings, Stream, set the service to Custom..., paste the Server URL and Stream Key from Kick, then Apply. Kick adds one quirk for LiveU users, who need :443/app on the end of the stream URL.

How long a key lasts

PlatformKey behavior
TwitchStays the same until you reset it in the Creator Dashboard or change your password; not needed when streaming from the Twitch phone app
YouTubeCan be reset, and custom reusable keys created, in the Live Control Room
FacebookValid only for the current stream, per Meta
KickReset from the dashboard; Kick says you must then update your streaming software

Persistent keys and per-stream keys

The two designs trade convenience against exposure. A persistent key, like Twitch's, goes into OBS once and keeps working until you reset it. A per-stream key, like Facebook's, has to be copied in before each broadcast.

YouTube sits in between. Its help page says that to reuse the same key you create a custom stream key, under Select stream key, Create new stream key. A new stream then copies the previous stream's metadata, settings and key.

Our view: a persistent key is the right default for a regular streamer, as long as you treat it like a password. The convenience is real. So is the risk, because nothing tells you a persistent key has leaked until someone else goes live on your channel.

Where to find yours

Each platform's page has the steps: Twitch, YouTube, Facebook, and Kick's is in the Kick guides. If Twitch rejects your key, the Twitch page has a table of key errors and fixes.

If a key leaks, reset it straight away: Twitch's reset is in the Creator Dashboard and YouTube's in the Live Control Room. A key that persists, like Twitch's, needs the most care. It stays the same until you reset it or change your password. Show it on stream once, and it keeps working for whoever copied it.

After a reset

Resetting is only half the fix. The old key is dead, so anything that still holds it will fail to connect.

  1. Reset the key on the platform. On YouTube, only a channel owner or manager can; YouTube says editors and viewers don't have that permission.
  2. Copy the new key and paste it into Settings, Stream in OBS or your other encoder.
  3. Update every other place that stored the old key: a second streaming PC, a relay or multistreaming service, a hardware encoder.
  4. Start a short test stream before your next scheduled one.

This falls apart when you forget the third step. A relay service still holding the old key will fail at your next stream.

When the key is wrong

OBS reports key trouble in its own words. We logged OBS Studio 32.2.2 on the WaveSync test Mac on 5 November 2026. There, an empty key field gives "Stream key is missing" with a prompt to open the Stream tab. A key the server refuses gives "Could not access the specified channel or stream key".

The second message is the common one after a reset. Paste the key again from the platform rather than from an old note. Check you're signed in to the right channel too, since a key copied from a second account will look valid and still be refused.

Stream key questions

Is it safe to share my stream key?

No. Twitch says never to share your stream key or show it on stream, because anyone with the key can broadcast to your channel. If you've already shared it, reset it on the platform and paste the new key into your encoder. Moderators and editors don't need your key to help run a stream, so there's rarely a reason to hand it over.

What is the difference between a stream key and a server URL?

The server URL is the platform's address, usually starting rtmp:// or rtmps://, and it's the same for everyone using that server. The stream key is private to your channel and tells the platform where the video belongs. Your encoder needs both. Someone who copies your server URL can do nothing with it; someone who copies your key can stream as you.

Do I need a different stream key for each platform?

Yes. Each platform issues its own key for your channel there, and a Twitch key means nothing to YouTube. To stream to two platforms at once, enter both keys in a tool that sends several streams. Or give your platform keys to a relay service and send it one stream. Either way, each key still needs resetting there if it leaks.

Does a Facebook stream key expire?

Yes. Meta says a Facebook Live key is valid only for the current stream.

Does my Twitch stream key change?

Not until you reset it in the Creator Dashboard or change your password.

Where does the stream key go in OBS?

In Settings, Stream, under Stream Key. Pick the platform as the Service, or Custom... with the platform's server URL.

What should I do after resetting a stream key?

Paste the new key into every encoder, relay or multistreaming service that held the old one, then run a short test stream.

Why does OBS refuse my stream key right after a reset?

It is usually still holding the old key. Copy the new one straight from the platform and check you're signed in to the right channel.

Do I need a stream key to stream from the Twitch app?

No. The Twitch phone app goes live without one. You need the key for OBS or another encoder unless you use Connect Account.

How do I reuse the same YouTube stream key?

Create a custom key under Select stream key, then Create new stream key.

Sources and checks

6 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

WaveSync app and source checks cited on this page:

  • OBS Studio 32.2.2 messages "Stream key is missing" and "Could not access the specified channel or stream key", from the installed app on the WaveSync test Mac, logged 5 November 2026.
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 →