Skip to content
streamneo.
Setup Guides12 min read

How to Set a Persistent YouTube Stream Key for an OBS Video Playlist

Create a reusable YouTube stream key, connect it to OBS, and set up an ordered video playlist that repeats only when you choose.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

A persistent YouTube stream key is a reusable credential: create a custom key in YouTube Studio, enter it with the YouTube stream URL in OBS, and save your OBS settings. It does not start, schedule or loop a broadcast by itself.

For an ordered video sequence, add an OBS VLC Video source, load the files in the order you want, leave Shuffle Playlist off and enable Loop Playlist only if the sequence should start again after its final item. The key sends the encoder feed; the playlist and YouTube’s live-event controls do different jobs.

What a persistent stream key means

YouTube calls this a custom stream key that can be reused. “Persistent” is a useful shorthand for reusing that credential across streams, not a promise that a particular live event or watch page stays open indefinitely. You still need an active stream in Live Control Room, an encoder sending video and audio, and any required confirmation in YouTube before viewers can watch.

Think of the key as a password-like credential for the encoder connection. YouTube describes stream keys as “like your YouTube stream’s password and address”; keep yours private and do not put it in a public document, screenshot, chat or stream description. Anyone with the key may be able to send a feed to your channel, so access to the OBS profile that stores it also matters.

The key is not a playlist, a file location or a schedule. It does not choose which videos OBS plays, set their order, or tell OBS when to restart a finished list. Those choices belong to the VLC Video source. Nor does reuse mean the same YouTube event details are automatically right each time: check the active stream, title, privacy and other metadata in Live Control Room.

YouTube also offers “Reuse settings” when creating a stream. This is distinct from merely reusing a key: settings from a previous stream can be carried over, but inspect them rather than assuming the next event is configured as intended. For a broader operational picture, our guide to monitoring a live stream for errors and outages covers checks to make after a broadcast is running.

Create a reusable custom key in Live Control Room

Open YouTube Studio and choose Create → Go Live to reach Live Control Room. Select the Stream tab, then find the stream-key area. The labels can move as YouTube changes its interface, so use the current YouTube Help instructions for managing live stream settings if your screen differs.

Choose Create new stream key and set the options YouTube presents for the custom key. The point of creating a custom key is that it can be reused. Give the key a label that helps you recognise its purpose, such as the OBS playlist channel, if the interface offers that choice. Store it somewhere private that the people responsible for operating the channel can retrieve securely.

Copy the stream URL as well as the stream key. They are separate values, and OBS needs the destination and the credential. Avoid pasting either value into a public note or sending it to someone who does not need access. If the account has multiple keys, confirm which one is selected in Live Control Room before troubleshooting OBS.

At this stage, you have configured a credential, not launched a programme. Review the stream’s title and privacy setting in the event controls. YouTube offers public, private and unlisted privacy choices; select deliberately for the audience you intend. A reusable key does not carry the meaning of a public invitation or make an unlisted event discoverable.

If you intend encoder signals to start or stop a stream automatically, that is a separate YouTube control. Read its current behaviour in YouTube’s settings documentation rather than treating key reuse as an equivalent feature. For a scheduled broadcast, YouTube’s encoder workflow includes checking the incoming preview and selecting Go live when appropriate.

Enter the YouTube URL and key in OBS

In OBS, open the streaming settings. If the YouTube integration is available, select YouTube and follow the connection options it presents. Otherwise, use the YouTube stream URL as the server and paste the key into the Stream Key field. Exact menu placement may vary by OBS version; YouTube’s encoder setup guide documents the server and key values used by an encoder.

Before saving, compare the values with Live Control Room. The stream URL belongs in the server or URL field, while the key belongs in the credential field. A swapped or incomplete value can prevent OBS from sending a usable signal. If YouTube later issues a replacement key, the old value saved in OBS will no longer be the one to use.

When you are ready to broadcast, start streaming from OBS with the correct scene active. Look for the incoming preview in Live Control Room and check that it shows the intended image and audio. For scheduled streams, follow YouTube’s flow and select Go live when the preview is ready; the reusable key alone does not publish the event.

A practical first check is to use a short, non-critical test session and verify the actual output before relying on unattended playback. Confirm the stream title and privacy, watch the preview, listen for sound, and make sure the correct scene is visible. Do not assume that an OBS status indicator settles questions about the YouTube watch page or event state.

Save the OBS profile or settings

Once the URL and key are entered, save the OBS settings or the profile you use for this channel. OBS profiles help keep streaming configuration together; scenes and sources are managed separately. Do not confuse saving a profile with saving the video files themselves: playlist media still has to be available to the VLC Video source when OBS runs.

Give the profile a recognisable name that does not expose the key. If more than one person operates the channel, agree which profile is current and who can edit the streaming credentials. A second, stale profile can make a correct key change appear not to work because OBS may still be using the old value.

Before closing OBS, reopen the relevant settings and confirm that the configuration was retained. Then check that the scene collection contains the intended scene and that its playlist source points at the files you expect. If the computer is shared, consider who can open OBS and view or replace the stored credential; the key should be treated as sensitive even when it is saved locally.

Saving a profile is not a substitute for checking the event each time. A stream can reuse the same key while needing a new title, privacy choice or scheduled event. If the channel covers children’s material, review the separate considerations in our guide to a YouTube livestream playlist for a made-for-kids channel; the key itself does not determine audience settings.

Add a VLC Video source

OBS’s basic Media Source plays an individual file. For a list of videos, use VLC Video, which supports a playlist. OBS’s Media Sources documentation explains the distinction and the source’s playback options. VLC must be installed for VLC Video to be available. If you use 64-bit OBS, install 64-bit VLC as well so the applications’ architectures match.

In the scene you want to broadcast, add a source and select VLC Video. Give it a useful name, such as “Main playlist”, then add the media files to its playlist. OBS describes the source as allowing a playlist of items, rather than only an individual media file. If VLC Video is missing, check that VLC is installed and matches OBS’s architecture before changing other settings.

Make the source fit the canvas and check how its image sits within your scene. A playlist can be playing while cropped, letterboxed or partly obscured by another source. Put it in the active scene and confirm visibility in the OBS preview. If you use a logo, captions or a background, make sure they do not cover text or important action in the video.

Check the audio path too. The files may have different loudness or may contain no audio, and the source’s audio needs to reach the OBS mix. Listen to the preview or a test broadcast rather than relying only on the meter. This is especially useful for devotional or study channels where a silent first item can make an otherwise correct playlist appear broken.

OBS has a Visibility Behaviour setting for VLC Video. Review it if you switch scenes, because it controls what happens when the source is hidden. If the playlist should continue while another scene is shown, select behaviour that supports that intent; if it should pause or stop when hidden, choose accordingly. The source’s visibility behaviour is independent of whether the YouTube key is reusable.

Load files and preserve list order

Add the files to the VLC Video playlist in the sequence you want viewers to see them. Review the list from top to bottom before going live. For example, a local news loop might start with the latest bulletin, continue to weather and community notices, then return to the opening bulletin. OBS follows the playlist behaviour you configure; YouTube does not rearrange the files.

Leave Shuffle Playlist disabled when order matters. Shuffle randomises playback order, which may be useful for a varied ambience station but is unsuitable when a sequence has an introduction, teaching segments or a planned progression. If your list includes a countdown, transition or interstitial between videos, place it as an item in the sequence; our guide to adding a countdown between videos in a YouTube live playlist loop explains that separate production choice.

Check that each file can be opened and played in the intended setup before relying on the list. Keep file names clear enough to identify order, especially if you later replace one item. Where practical, use stable file locations and avoid moving or renaming files after configuring the source, because OBS must still be able to find them. A playlist entry that points to a missing file will not show the intended segment.

Do a playback pass through the transition from one item to the next. Watch for unexpected blank gaps, mismatched dimensions, silence or an item that starts from an unwanted position. The right fix may be to edit the file, change the source configuration or replace the item; changing the stream key will not correct media playback.

Enable Loop Playlist only for repeat playback

The Loop Playlist option controls whether VLC Video starts the list again after the final file. Enable it if the sequence should repeat continuously. Leave it off if the programme is intended to stop after the final item or if an operator will change scenes or content at that point. Looping belongs to the OBS source, not the YouTube key.

For an ordered repeating sequence, use Loop Playlist with Shuffle Playlist off. That combination starts the list again from its configured order rather than selecting a random order. If you want each pass to differ, shuffle may be suitable, but check the result first and do not use it where viewers rely on a fixed progression.

Test the end of the list before leaving a channel unattended. Confirm that the last item finishes as expected and that the first item begins again only when looping is intended. Also test the source after changing scenes if you have configured Visibility Behaviour, since hiding the source may affect playback. A correct stream key cannot compensate for a source that has stopped or is no longer visible.

An OBS playlist loop is not the same as an uninterrupted YouTube event. YouTube’s encoder guide explains stream creation and the preview/Go live steps; event status and the encoder connection remain separate from file playback. Check YouTube’s current guidance for archiving and event behaviour before planning a long-running broadcast, rather than assuming a reusable key preserves one event or archive indefinitely.

Reset a compromised key and update OBS

If you think a key has been exposed, reset it in Live Control Room promptly and replace the old value in OBS. YouTube says a channel owner or manager can reset a key; editors and viewers cannot. Use YouTube’s current key management instructions to find the relevant control, since permissions and interface labels matter.

After resetting, update the key in the OBS profile that actually sends the stream. If you have more than one profile or computer, identify all configurations that held the old value and update or remove them. Otherwise, one operator may continue using the old credential and see a connection failure while another has already switched to the replacement.

Test the new value in OBS and confirm an incoming preview in Live Control Room. If there is no signal, verify that the correct stream URL and current key are in the active OBS profile, then check the selected stream in YouTube. Keep the playlist troubleshooting separate: missing VLC Video, unavailable files, shuffle state and loop state are source issues, not key issues.

If the stream appears on the wrong event or has the wrong privacy, inspect the active or scheduled event and its metadata in Studio. A shared reusable credential does not identify the intended watch page for you. Before an unattended run, check the preview, sound, playlist order, repeat behaviour and audience setting; this is a practical check, not a guarantee of uninterrupted operation.

For a channel where leaving a computer on is the part that makes a playlist difficult to maintain, StreamNeo can take an uploaded video and run it as a YouTube live stream while your computer is off, avoiding the need to leave this OBS playlist machine running. The same distinction still matters: decide the content and confirm the YouTube stream details rather than treating a reusable key as a schedule.

Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.

FAQ

Does a persistent key keep my YouTube channel live?

No. It is a reusable credential that lets an encoder connect, not a command to start a stream or keep an event open. Start the broadcast through your encoder and follow the current Live Control Room steps for the event.

How do I keep videos in their listed order?

Use an OBS VLC Video source, add the files in the intended sequence and leave Shuffle Playlist disabled. Enable Loop Playlist only if you want the list to begin again after the final file.

Do I need VLC for an OBS playlist?

Yes, VLC Video depends on VLC being installed. Match the application architecture; for 64-bit OBS, install 64-bit VLC, then reopen OBS and check whether the source is available.

What should I do if my stream key is exposed?

Reset it in Live Control Room if you have the required channel-owner or manager access, then replace the saved value in every OBS profile that may use it. Test the new connection and confirm the preview before relying on it.

YOU’VE REACHED THE END

Keep the ideas coming.

More guides, useful tools and a little help for your next broadcast.

Back to the journal ↗
YOUR NEXT READ

A little more to explore.

More Setup Guides guides ↗ · All topics ↗