Stream key leaked: take your channel back and keep the new key private

If your stream key has leaked, stop your broadcast, replace the key so the old one no longer works, paste the new one into every encoder you use, and then find out how it escaped so it does not happen twice. The key is what lets an encoder publish to your channel. Whoever holds it can put their picture on your player, so treat it the way you would treat a password, and move quickly.

Steps
7
Reviewed
Runs on
Live video
Written by
Get Stream Hosting

By the Get Stream Hosting team

Every step was checked against the software's official documentation by independent reviewers before publishing. Last reviewed .

Pre-flight check

Signs someone else has your key

The clearest sign is a channel that is live when nobody on your team is sending. A key works for whoever presents it, so an outsider does not need your account to broadcast as you. Look for these:

  • Your player shows a picture you did not send, or live video plays when your studio is dark (your own TV station playing your library does not count).
  • Your encoder is refused or dropped at a time when it connected fine before.
  • Your viewer allowance fills up early, or while nothing of yours is playing. On the free plan, up to 10 viewers can watch at once, so a stranger's audience can lock your own people out.
  • Viewers or colleagues tell you about a broadcast you never scheduled.
  • The key appeared somewhere public: a screenshot, a screen share, a shared document, a forum post or a script in a public repository.

Any one of these is enough reason to replace the key. A replacement costs you a few minutes of pasting. Waiting to be sure costs you your channel's reputation.

The response, in order

  1. Stop your own encoder. If an intruder is on air, your player may keep showing them until the key changes and their session ends, but stopping your side keeps the next steps clean.
  2. Replace the key. Your control panel shows the address and stream key you paste into encoders. If you cannot replace a part yourself, contact support (live chat or ticket, or email on the free plan), say the old key leaked and ask for a new one.
  3. Change your account sign-in password if there is any chance the dashboard itself was reached. Anyone signed in to your account can read the new key the moment you make it. Sign in and change it, or ask support if you cannot find where.
  4. Paste the new key into every encoder on the list in the next section, not only the one in front of you.
  5. Go live with a short test and confirm it as described below before you announce anything.

Some services split the key into a stream name plus a publishing username and password. Treat every part that is not public as the secret. If only one part can be changed, change that one, and ask for the rest.

Every place the old key may still live

A leak is rarely one copy. Before you call it closed, walk this list and either update or delete each copy.

WhereWhy it mattersWhat to do
OBS Studio stream settingsThe key sits in the Stream key field under Settings, Stream.Paste the new key into the Stream key field.
Exported OBS profilesA profile export writes the profile's Stream settings to a JSON file for backup or another computer.Delete old exports you no longer need; store the rest like a password.
Second machines and laptopsBackup encoders and volunteers' laptops keep the old key until someone changes them.Update them, or remove the key from machines that no longer broadcast.
FFmpeg scripts and scheduled jobsThe key is part of the publish address in the command, so it travels wherever the script goes.Update the script; keep it out of shared folders and public repositories.
Hardware encoders and phone appsThese hold the key in their own settings menu.Re-enter it on the device itself.
Run sheets, chats, emailsNotes passed between crew are the most common copy nobody remembers.Delete the old message; share the new key only with the person who needs it.

How to confirm the channel is yours again

A replacement has worked when your encoder publishes with the new key and nothing else does. Check each of these:

  • With your encoder stopped, the player stays dark, or shows only your own library if your TV station is playing it. If a picture still plays, a session started before the change may still be running: ask support to end it. If it comes back after that, a copy of the new key has leaked or the account itself is reached, so go back to the sign-in password step.
  • With your encoder started, your own picture appears on the player within the usual delay.
  • Any encoder you forgot about now fails to connect. That failure is the alarm you want: find it and update it or retire it.

Habits that keep the next key private

  • Close settings before you share a screen. Screen shares and screenshots of encoder settings are the classic leak.
  • One person owns the key. Others get it when they need it and lose it when they leave the crew.
  • Replace the key when someone leaves, even on good terms, and after any encoder machine is sold, lent or sent for repair.
  • Keep it out of scripts you share. Read it from a file only you can open rather than writing it into the command.
  • Never post a support question with the key in it. Blank it out of logs and screenshots first.
  • Keep a dated list of every place the key lives, so the next replacement is a checklist rather than a hunt.

Keys you hold on other platforms

If you send the same show to other platforms, each one has its own key and its own reset, and a leak of one machine usually means all of them. Replace them all in the same sitting. On YouTube, for example, a new key is made from the Stream tab of the Live Control Room, and only a channel owner or manager may reset it; editors and viewers cannot.

The same goes for an internet radio station on our radio streaming service: the login your audio encoder uses is a secret of the same kind, and it belongs on the same checklist.

When a new key is not the whole fix

A replacement only helps if the place the key escaped from is closed. Three cases need more than a new key:

  • The account itself is reached. If the new key leaks within hours, someone can read your dashboard. Change the sign-in password and tell support what happened.
  • The encoder computer is not trustworthy. If a machine that holds the key may be infected, a new key typed into it leaks again. Use a clean machine until it is checked.
  • Someone with legitimate access is the source. A new key does not fix a person problem; take them off the list before you share it.

On a live video plan, your control panel shows the address and stream key your encoders need, and support (live chat or ticket, or email on the free plan) can help if you cannot change a part yourself.

Questions people ask

Does replacing a stream key stop someone who is broadcasting on my channel right now?

Replacing it stops the old key from being accepted for new connections. Whether a session already running is cut at once depends on the service. After you replace it, check that the player goes dark when your own encoder is stopped; if it does not, ask support to end the session.

Is a leaked stream key the same as a hacked account?

No. The key only lets someone publish video to your channel. Your account sign-in controls everything else, including the key itself. If you are not sure how the key escaped, change both.

Will my viewers need a new link after I replace the key?

The key is for sending, not watching. Whether your player link changes with it depends on how the service builds the link, so after the change, open your player page and check it still plays your test. If it does not, ask support before you announce anything.

How often should I change my stream key if nothing has gone wrong?

There is no fixed schedule that suits everyone. Change it whenever someone who knew it leaves your crew, after an encoder machine changes hands, and whenever it was shown on screen. Those are the moments a copy escapes.

Can I hide the key from volunteers who run the encoder?

Only partly: whoever types it into an encoder can read it there. Set up the encoder machine yourself, let volunteers operate it without opening its settings, and replace the key when the team changes.

Where do I get help if I cannot replace the key myself?

Contact support, say the key has leaked and ask for a new one. Live chat and tickets are answered around the clock; on the free plan, write to support by email.

Live video

Put your stream on air, with the keys in your hands

Your control panel shows the address and stream key for any RTMP encoder, and your player plays over HTTPS without ads.