Support
How to Set Up Automatic OBS Scene Switching When the Camera Disconnects

OBS Backup Scene When the Camera Disconnects: Setting Up Automatic Switching

Why You Need a Backup Scene in OBS

If the camera disconnects during a broadcast, OBS does not always open another scene on its own. Depending on the device, viewers may see a black screen, the last camera image, or a placeholder with a no-signal message. Meanwhile, the audio, the game, and the broadcast itself may keep running.

A backup scene hides the technical problem. You can place a static image, the text "Camera temporarily unavailable," a game screen, a video file, or another source on it. The switch happens after a problem with the video signal is detected, not on a schedule.

OBS Studio has no universal built-in rule that says "if the camera disconnects, open the backup scene." You will need Advanced Scene Switcher for this kind of automation. The plugin checks the state of a source and performs an action when a specified condition is met.

It is important to distinguish between the device being physically disconnected and the video stream stopping. The camera may disappear from the system, stop sending frames, or stay connected but show the last image. Each case requires its own check.

Prepare the Main and Backup Scenes

First, create two scenes in the same OBS scene collection. You can name the main one "Camera" and the backup one "Backup." The names do not affect how the plugin works, but short ones are easier to pick from drop-down lists.

In the main scene, add a "Video Capture Device" source and select the camera. Check the resolution, frame rate, and image format. Do not delete or recreate this source after setup: the macro will refer to it by name.

In the backup scene, place an image, text, media file, or another source that should appear instead of the camera. A static placeholder is usually more reliable than video: it does not need separate playback and will not stop after one cycle.

The microphone and other important audio should not exist only in the main scene. Add them to both scenes or set them up as global audio sources. This will let you keep talking to viewers after the switch. If the backup scene uses video, enable looping and check that it does not stop after the first playback.

Save the project and make a backup copy of the scene collection. This will make it easier to restore a working configuration if a source or transition changes during testing.

Check What Happens to the Camera After a Failure

Before creating a macro, you need to check how your specific camera behaves. Open the main scene, start a local recording, and disconnect the device in the way that could happen during a live broadcast: unplug the USB cable, turn off the camera, or block another application from accessing it.

If the source stops sending video frames, Advanced Scene Switcher can detect this through the Video source not outputting frames condition. The wording may be translated differently in the Russian localization, but the meaning stays the same: the source is not producing new frames.

Sometimes the source stays in the OBS list but its image goes black. This can also come with an absence of new frames and be detected by the same condition. However, a simple "source is visible" check is not suitable for this task. Source visibility does not mean the camera is still working.

A separate case is a frozen frame. Some cameras or drivers leave the last image on screen and do not change it after a disconnection. OBS may still consider the source active in this case. A condition based on the source's presence will not trigger, so you need to use a check for the absence of video stream updates. That is exactly why you should look for Video source not outputting frames in the conditions list rather than a source visibility check.

Open Advanced Scene Switcher and Create a Macro

Install the Advanced Scene Switcher build compatible with your OBS version. After installation, open OBS Studio and go to Tools → Advanced Scene Switcher. In the window that opens, go to the Macro tab. In some translations it is called "Macros."

On the Macro tab, click Add or "Add macro." Enter a clear name, for example "Camera disconnected — backup." The name is only for keeping the list organized, so it can be anything.

A macro consists of two parts: Conditions and Actions. First, set up the condition. In the Conditions block, click Add condition. In the list, find the section related to video and select Video source not outputting frames.

After selecting the condition, specify the camera source in the Video source field. Choose the exact source name from the main scene, for example "Camera." Do not enter the scene name instead of the device name: the plugin needs to monitor the "Video Capture Device" source itself.

An empty studio with a video camera and glowing panels reading about signal loss and activation of the backup scene.

Add the Condition and the Switching Action

A single sign of missing frames is enough for a simple setup, but it is better to limit the macro to the current scene. In the Conditions block, click Add condition again and select a condition from the Scene section called Current scene is. In the scene field, specify the main scene "Camera."

As a result, the macro should run only under two circumstances: the "Camera" source is not producing new frames, and the main scene is currently live. The conditions should be combined using AND logic, that is, "and." If your plugin version lets you choose the check mode, do not use OR for this pair of conditions.

Now go to the Actions block and click Add action. Select an action from the section related to scenes called Switch scene. In the target field, specify the backup scene "Backup."

The action name may appear as Switch scene, "Switch scene," or "Go to scene." This is specifically changing the current scene, not changing source visibility. The Set source visibility action is not suitable for this task: it can hide the camera but will not show the prepared backup scene.

If your version has an option to perform the action only when the condition state changes, enable it. After switching to the backup scene, the current scene condition will become false, so the macro should not trigger the same switch again.

Add a Delay Before Switching

The camera may briefly stop sending frames due to USB load, a resolution change, or another application launching. If you switch the scene immediately, viewers will see the backup placeholder because of a short glitch, after which the image quickly returns.

In the condition or macro settings, find the parameter for how long the condition must be met. In the English interface it may be called Duration, Condition duration, or be described as a check "for a specified time." Enter a short interval and test it on a recording. The exact value depends on the camera, the computer, and the nature of the failures.

If there is no separate duration parameter, look at the list of actions. In some versions of Advanced Scene Switcher, a Wait action is available. You can then place it before Switch scene, but after that you must check the macro for repeated triggering. It is preferable to use a delay tied to the condition itself: it does not start the switch until the problem has persisted for the specified time.

Do not create several macros at once with the same action and different disconnect triggers. They may switch scenes one after another or interfere with manual control. Start with one check, one delay, and one action.

Enable the Macro and Automatic Start

The macro you created does not start working just because you saved the settings. On the Macro tab, find the row with its name and enable the activity checkbox next to it. In different versions it may be shown as a toggle, a checkmark, or an Enabled state. If the macro is off, its conditions are not checked.

Then, in the Advanced Scene Switcher window, go to the General tab. Click the Start button to start macro processing. This is an important step: an active macro in the list does not run until the switcher itself is started.

To avoid clicking Start every time you launch OBS, enable the parameter called Start with OBS or "Start with OBS" on the General tab. In some builds it is located in the general settings block next to the Start and Stop buttons. If there is no such checkbox, the automatic start may be called "Automatically start" or may not be available in the installed version. In that case, you need to click Start manually after launching OBS, or update the plugin to a compatible build.

Close the settings window with the regular close button and make sure the switcher keeps running. Do not shut down Advanced Scene Switcher via Stop, otherwise the backup switch will be disabled until the next launch.

Set Up or Disable Automatic Return

You can make the return to the camera scene a separate macro. It will need a condition meaning the video stream has recovered, such as Video source outputting frames, and a Current scene is condition with the value "Backup." The action will be Switch scene with a transition to "Camera."

Before switching back, set a longer period of stable signal than for disconnection. After reconnecting, the camera may start and stop sending frames several times. If you return the scene too early, viewers will see the main and backup scenes alternating.

Automatic return is convenient when the camera is needed on air all the time. But it can get in the way if you manually open a placeholder, a game scene, or a settings screen. After the device recovers, the macro will return the broadcast to the "Camera" scene, even though you may have chosen a different place.

The safe option is to automate only the switch to the backup scene. After the camera recovers, check the image in OBS and return to the main scene with a hotkey. If you need automatic return, be sure to keep the Current scene is — Backup condition so the macro does not interfere with other scenes.

Test Disconnection and a Frozen Frame

Test the setup not only in the preview window. Start a local recording or a test broadcast to see the result the way a viewer will see it. Disconnect the camera, wait for the specified delay, and check that the backup scene appears.

After that, test several scenarios: unplugging the USB cable, turning off the camera, a brief interruption, and reconnecting. Make sure the microphone, music, and alerts do not disappear after the scene change. Also check that the switch does not trigger because of a brief glitch.

Separately, create a situation with a frozen image. If OBS keeps the last frame when the device disconnects, see whether the state of the Video source not outputting frames condition changes. To do this, it is convenient to temporarily open the macro settings and watch its state during the test.

If the switch does not happen, check three things: the macro is enabled on the Macro tab, Advanced Scene Switcher itself is started on the General tab, and the correct source is selected in the condition. If everything is set up but the state does not change, the plugin is not receiving the frame-stoppage signal from OBS.

In that case, the problem is not with the Switch scene action. The source may keep its working status or continue sending repeated frames. A regular camera-presence check will not detect such a failure, so you will need another way to monitor it.

What to Do If the Plugin Does Not See the Camera State

An alternative to Advanced Scene Switcher can be a combination of OBS WebSocket and a separate script. The script monitors the camera through operating system tools, the driver, a test video stream, or frame update analysis. After confirming a failure, it connects to OBS WebSocket and sends a command to change the current scene, for example a SetCurrentProgramScene request with the name "Backup."

This option is useful if the camera freezes on the last frame and OBS keeps considering the source active. The script can check not only whether the device is present but also whether the frame arrival time changes. If the image does not update for a specified interval, it sends a switch command to OBS.

For the reverse switch, the script must separately confirm that the camera has recovered stably. You will also need protection against repeated commands: after switching to "Backup," the script must wait for the signal to recover rather than sending the same command on every check cycle.

In OBS WebSocket, enable the server, set a password, and use these credentials only in the local script. Do not expose the WebSocket interface to the internet unless necessary. This option requires additional setup and does not guarantee the same result for all drivers, so test it on a recording first.

Quick Step-by-Step Summary

  1. Create a main scene with a camera source and a backup scene with a placeholder.
  2. Check whether the camera stops sending frames or leaves a frozen image.
  3. Open Tools → Advanced Scene Switcher → the Macro tab.
  4. Create a macro via Add and add the Video source not outputting frames condition.
  5. Select the camera source and add the Current scene is condition for the main scene.
  6. In the Actions section, add the Switch scene action with a transition to "Backup."
  7. Set a delay, enable the macro, and click Start on the General tab.
  8. Enable Start with OBS if this parameter is available in your plugin version.
  9. Test disconnection, a frozen frame, a brief interruption, and audio behavior on a test recording.
  10. If the source state does not change, use an external script with OBS WebSocket.

Last Articles

New website design

What has changed in design and functionality We have updated the website to make working with it faster and more convenient. The main changes affect ..

15/08/2026 New

News SP

Good afternoon, I've collected all the news during this time.: 1. The main news is that prices for twitch viewers have been greatly reduced, while Tw..

08/04/2026 Update

We have collected all current promotions and giveaways for you until 01.01.2026

1. Use promo code "December2025" for a 15% discount for all our viewers2. We have reduced the base prices for our configurator and the most affordable..

26/12/2025 Ended

Cooperation with squads and resellers

Twitch services are working stably, so we are ready to cooperate with squads, resellers, service owners, bot owners, and many others.Individual te..

22/10/2025 For partners

Twitch viewers are stable, but there are some nuances.

We have completely updated our Twitch viewer services, and they are now working stably. We only use high-quality IP addresses for the viewers.The ..

22/10/2025 Update

Twitch Viewer Configurator and Control Panel

Hello everyone! Today, we are announcing a new feature—"Twitch Viewer Configurator". Now, you can customize any plan for your Twitch channel. Choo..

15/06/2025 New

If YouTube is blocked, where to stream now?

Greetings, I have compiled a guide for streamers, which will be very relevant at the moment. Now YouTube and twitch have disabled monetization from vi..

16/03/2022 Important

Reseller Panel API SP

We have finally developed the APINow it will be more convenient for our partner sites to work with us.To update the maximum tariffs for YouTube, an up..

02/09/2021 For partners

PARTNERS AND REFERRALS: NEW TERMS!

Due to the huge popularity of the partnership services and referral program, we have made a cooperation table. The essence is very simple: more live a..

12/08/2020 For partners

Viewer control panel [Twitch | Kick | YouTube | VK Video Live]

Build your own custom plan
Deposit funds, one-click order, discounts and bonuses are available only for registered users. Register.
If you didn't find the right service or found it cheaper, write to our support in Telegram or chat, and we will resolve any issue.
New

Telegram bot @BOT_SP_RU_BOT

Order or repeat in a minute, balance and order statuses — right in Telegram

Repeat orderOrder statusesBalance top-upPromo codes