Skip to content
streamneo.
Setup Guides13 min read

How to Set Up a 24/7 YouTube Stream of Recorded Math Lessons with OBS

Loop one recorded lesson or a course playlist in OBS, connect it to YouTube Live, test playback and plan for archive limits.

sn.
StreamNeoPublished 5 October 2026
Worth sharing?

To run recorded maths lessons continuously on YouTube, use OBS Studio as the encoder and either loop one local video with a Media Source or rotate several lessons with a VLC Video playlist. Create an encoder stream in YouTube Studio, connect OBS with the server URL and stream key, then test both the preview and the public watch page before you rely on it.

The two playback methods suit different teaching plans: Media Source is simpler for one repeating lesson; a VLC playlist gives you an ordered rotation but requires VLC to be installed. Neither looping nor a long-running OBS session guarantees that YouTube will keep a complete replay, so decide separately how you will handle recordings and interruptions.

Prepare and clear the recorded maths lessons

Start with the files you intend to broadcast, not the OBS controls. Put the lessons in a clearly named folder and decide whether viewers should see one lesson repeatedly or move through a sequence. If you are rotating a course, number the files in the intended order or write down the order before adding them. This small preparation makes it easier to catch a missing or misplaced lesson before it appears on the live channel.

Play each file from beginning to end, or at least inspect the opening, middle and end if the recording is long. Check that equations are legible at the resolution you plan to stream, that the voice is audible, and that there are no unintended black frames, muted sections or unfinished end cards. A recording that works on a laptop screen can be hard to read on a phone. Preview the material at a similar size to the viewer’s screen, particularly when equations or small labels carry the explanation.

Check the audio in the recording as well as the OBS meter later. A meter can show that sound is present, but it cannot tell you whether a worked example is intelligible, whether the microphone is distorted, or whether a long silence is intentional. If the lesson contains music, images, clips or other material that you did not create, confirm that you have the rights needed for the intended live use and any replay. YouTube explains that live streams are scanned for third-party content and may be interrupted when a match is detected; see its copyright guidance for live streams.

Do not assume that a classroom use, a public web page or an existing recording automatically grants permission to rebroadcast the material. Rights questions are separate from the technical ability to play a file. For examples of how copyright issues can arise around a broadcast, see our discussion of a starting-screen song and YouTube Live claims and whether a scheduled 24/7 stream can be blocked before it starts. Those examples are not a substitute for checking your own material and current platform guidance.

Create the YouTube encoder stream

Before you set up OBS, check that live streaming is enabled for your channel. YouTube says a first-time live-stream activation can take up to 24 hours, so do not leave this until the intended start time. In YouTube Studio, open the Live Control Room and create or schedule an encoder stream. Set the title, description, privacy and schedule to match your plan. If this is a test, choose a privacy setting that lets you test without presenting the broadcast as a public lesson.

The Live Control Room supplies a server URL and a stream key for the encoder connection. The key is a credential: anyone who obtains it may be able to send a feed to the stream associated with it. Keep it out of screenshots, public notes and messages, and reset it in YouTube Studio if you think it has been exposed. YouTube’s encoder setup instructions describe the connection details and the controls for starting an encoder stream.

Pay attention to the workflow shown for the stream you created. Depending on that workflow, you may start sending from OBS and then use YouTube’s Go live control, or follow the sequence shown in the Live Control Room. Sending an encoder feed and making a broadcast publicly available are related steps, but you should confirm the actual state in Studio rather than infer it from OBS alone.

Add a Media Source and loop one lesson

For a single lesson that should repeat, create a scene in OBS for the broadcast and add a Media Source. Give the source a name that tells you which lesson it contains, select the local video file, and enable Loop in the source properties. The exact appearance of controls can vary between OBS versions, but the principle is the same: the scene contains a local media file, and the source repeats that file when playback reaches its end.

Fit the source into the scene so the lesson fills the intended video frame without cropping titles or equations. If the source has audio, check that it is audible in the OBS mixer and not unexpectedly muted. Watch the lesson through its end once in OBS. Confirm that it starts again as expected, and note whether the ending and opening create a pause, a sudden change in volume or a confusing repeated introduction.

A loop does not edit the file. If the recording ends with “thank you for watching” or a long pause, that ending will recur each time the video returns to the start. If that is not suitable for a continuous channel, edit a clean version before adding it. Do not rely on the loop setting to hide an awkward transition or fix an audio problem.

This approach is a good fit when the channel is organised around one worked example, revision session or recurring lesson. It is also the easiest way to isolate a technical problem: there is one file and one playback source. If the stream stalls at the same point each time, check the file itself and its playback in OBS before changing the YouTube connection.

Or add a VLC playlist and loop the playlist

For a sequence of lessons, use a VLC Video source in OBS and add the files in the order you want them to play. Enable Loop Playlist so the sequence begins again after the final item. The VLC source depends on VLC being installed. OBS documents that a 64-bit OBS installation requires 64-bit VLC for the source to be available; check the OBS VLC Video Source guide.

Add the files deliberately rather than relying on the order in which they happen to appear in a folder. Play through the playlist in OBS and confirm the transition from one lesson to the next, the sound level of each file and the repeat from the final lesson back to the first. A playlist can play every file correctly and still feel poor to viewers if one lesson has a long blank lead-in, a different audio level or an end card that sits on screen for an extended pause.

Playback plan OBS source What to check Best fit
Repeat one lesson Media Source with Loop enabled The file restarts cleanly and its ending is acceptable A single topic or recurring revision lesson
Rotate several lessons VLC Video with Loop Playlist enabled VLC is installed, order is correct, and transitions work A course sequence or a set of related topics

The playlist method adds a dependency and more editorial decisions. It is useful if the viewer should move through a structured series, but it is not automatically better just because it contains more material. If the teaching plan depends on a particular order, test the complete sequence; if a simple repeated lesson is clearer, keep the setup simple. You can also look at the operational considerations in our guide to looping a folder of radio shows into a continuous YouTube livestream, while keeping in mind that lesson transitions need their own review.

Connect OBS with the YouTube URL and key

In OBS, open Settings and go to the Stream page. If YouTube is available as a service, select it and enter the stream key copied from the Live Control Room. If you are using a custom or manual connection, select the option for a custom server and enter both the server URL and stream key supplied by YouTube. Use the values for the stream you created; do not reuse an old key simply because it appears to work.

Treat the key as confidential throughout the setup. Avoid putting it into a public tutorial, a shared document or a screenshot of your settings. If another person needs access, use a secure method and change the key afterwards if exposure is plausible. For a more focused explanation of OBS bitrate choices and connection capacity, read how to set OBS bitrate for a 24/7 YouTube stream on Indian fibre internet.

Choose output settings by matching YouTube’s current encoder recommendations to your resolution, frame rate and codec. The recommended bitrate differs between output modes, so do not copy a number from a different resolution or frame rate. YouTube’s live encoder settings provide the current table; consult it when you configure the stream rather than treating a remembered value as universal. YouTube recommends RTMPS for secure ingestion, and its general streaming advice is to leave upload headroom. Measure available upload capacity on the connection that will actually carry the broadcast, not its download speed.

A maths lesson often needs a stable, readable image more than a high frame rate. Select an output that keeps handwriting, slides and equations clear, then test it under the real network conditions. If the connection is shared with other users or devices, account for that load. Do not assume that a speed test from a quiet moment proves the connection will behave the same way overnight.

Test preview and playback before going live

Run a test before you announce or schedule the continuous channel. Start the lesson in OBS and check the Live Control Room for an incoming preview. Confirm that the picture is not cropped, that equations are readable, and that the audio reaches YouTube at a sensible level. Then view the stream from its watch page, ideally on a phone as well as the computer running OBS. The OBS canvas and the public playback page can differ in ways that are easy to miss if you inspect only the local scene.

Test representative content rather than only a title card. Include a section with speech, a quiet explanation, any music or other audio, and the parts of the lesson where writing or movement is clearest. Watch for dropped or frozen video, audio that is too quiet, an unexpected black frame, or a file that stops instead of looping. If you are using a playlist, test the hand-off between lessons and the return from the end of the playlist to the first item.

Observe the stream health information in YouTube Studio during the test. If the preview says no data is being received, check that OBS is streaming, the correct server URL and key are entered, and the intended stream is open in the Live Control Room. Our troubleshooting guide for YouTube Live Control Room reporting no data walks through connection checks. Make changes one at a time, then confirm the preview again so you know which change helped.

The test should include the actual playback path, not just a successful connection. A stream can connect while the wrong scene is selected, the media source is silent or the lesson is too small to read on a phone. Likewise, seeing a preview does not confirm that a public watch page is available in the state you intend. Use the controls shown in YouTube Studio, check the watch page, and only then announce the channel as ready.

Plan for continuous operation and recovery

With OBS running locally, continuous streaming depends on the computer, OBS, power and internet connection staying available. A power cut, operating system restart, network outage or OBS crash can stop the feed. YouTube’s stream-health indicators help you see problems, but they do not make a single local computer recover from every failure. Decide who will check the channel, how they will know it has stopped, and what they will do to restore it.

Before starting, disable avoidable interruptions such as sleep or automatic restarts during the planned broadcast, while still keeping the computer maintained and secure. Check that the computer has adequate ventilation and that no other task is likely to monopolise its resources. Do not treat these steps as guarantees: a household power or internet interruption can still happen. If you need the channel to continue while your own computer is switched off, StreamNeo removes that specific burden by taking an uploaded lesson and running it as a YouTube live stream without keeping your OBS computer on.

If you continue with local OBS, keep a practical recovery note with the stream title, scene to use, media files, where to find the Live Control Room and how to reset the key if needed. Keep credentials private; the note should not expose the key to people who do not need it. Run another short check after any change to OBS, the media files, the computer or the internet connection. For broader operational options, compare the trade-offs in what a live streaming encoder does.

Plan around YouTube’s archive guidance

YouTube says encoder streams under 12 hours are automatically archived. A single 24/7 broadcast is longer than that stated threshold, so do not plan on YouTube automatically saving it as one complete replay. The guidance does not promise a full archive for a continuous session that exceeds the stated limit. Check YouTube’s current live stream archiving guidance before you decide how viewers will catch up.

If preserving the lessons matters, separate live continuity from replay preservation. One option is to schedule shorter live sessions and verify how the resulting replays appear. Another is to keep a separate recording of the programme using an arrangement you have tested. In either case, check the result rather than assuming the archive contains the entire sequence. A replay requirement may also affect privacy, rights and how you communicate the lesson schedule.

A local recording can consume storage and needs its own checks, including whether it captures the same audio and scene that viewers receive. Shorter sessions can require someone to manage starts and handovers. Neither arrangement removes the need to test. Plan around the specific outcome you need: a channel that keeps broadcasting, a replay viewers can watch later, or both. They are related goals but not the same technical task.

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

Can I loop one recorded maths lesson in OBS?

Yes. Add the local file as a Media Source and enable Loop in its properties. Play it through the end in OBS before connecting to YouTube, because the file’s end card, pause or silence will repeat too.

How do I make several recorded lessons repeat in order?

Add a VLC Video source, add the lesson files in the intended order and enable Loop Playlist. VLC must be installed for this OBS source, and the playlist should be tested through its transitions and its return to the first lesson.

Will YouTube archive one continuous 24-hour stream?

YouTube’s stated automatic archive guidance applies to encoder streams under 12 hours. A 24-hour stream exceeds that threshold, so do not rely on a complete single-stream archive; check the current guidance and test a separate replay plan.

Can I stream any lesson recording I have?

Only stream material for which you have the necessary rights, including music and included third-party clips or images. YouTube can scan live streams for matches and may interrupt a broadcast, so check rights and current official guidance before going live.

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 ↗