Why use a backup encoder
In most live streams, the encoder is the weakest link. It is the device or software that takes your picture and sound and sends them to the server, and it fails in very ordinary ways: OBS freezes halfway through the service, Windows restarts to install an update, someone pulls the wrong power plug, or the venue internet drops. When the encoder stops sending, viewers see a frozen frame or a spinning wheel, and many close the tab before you are back.
A backup encoder is a second encoder that streams at the same time as the main one, carrying the same feed. If the main encoder fails, the server puts the backup on air and the stream keeps going. It is the most direct way to protect the most fragile part of your setup, and it works the same for a church streaming its Sunday service as for a production company at a stadium.
This guide is the hands-on setup with two encoders. For the bigger picture, including the connection, the server and delivery, read our guide to live stream failover and redundancy.
How to set up the second encoder
The goal is independence: a single failure should only ever reach one of your two encoders. This applies whatever platform you stream to:
- A separate machine. A second computer or a hardware encoder. Two copies of OBS on one computer freeze together; two separate machines keep each other covered.
- A separate internet connection. A second provider, or a 4G or 5G router with its own data plan. If both encoders go out through the same router, losing that router takes both off the air.
- A separate power source. A UPS for each machine, or at least for the backup and its router, so a short power cut leaves one of them running. A laptop as the backup brings its own battery, which works like a built-in UPS.
- Its own signal path. Each encoder gets the picture on its own cable or over the network, as the next section explains.
The backup can be the same kind of encoder as the main one or a different kind. Common pairings:
- Two computers running OBS, each with its own capture card.
- vMix on the main computer and OBS on a laptop as the backup.
- A hardware encoder as the main and OBS as the backup, or the other way round.
If you are deciding between a dedicated box and software, our comparison of hardware vs software encoders walks through the trade-offs. For the backup, what matters most is that it is ready, tested and streaming before the event starts.
How to send the same feed to both encoders
Both encoders need to send the same picture and the same sound, so that when the backup takes over, viewers keep watching the same program. There are three usual ways to split the signal:
- An HDMI or SDI splitter. A distribution amplifier takes the output of your switcher or camera and sends it down two cables, one to each encoder. It is the simplest and sturdiest option.
- Your switcher's NDI output. If your switcher or production software sends the program over NDI, both encoders can pick it up on the local network. Our guide to NDI in OBS and vMix covers the setup.
- The program output of vMix or OBS. If you produce on a computer, send its program output to the backup encoder, through a video output into the backup's capture card or over NDI (in OBS, with the DistroAV plugin).
Ideally, split the signal before the computer that streams. That way, if that machine freezes, the backup still receives a picture. If you build your graphics in the same OBS that streams, put a splitter after the switcher or camera and rebuild the graphics on the backup: in OBS, export the main machine's scene collection and profile (from the Scene Collection and Profile menus) and import them on the other computer.
Check the audio too. If sound reaches the main computer through a USB interface, the backup needs the same mix, for example from a second output on the mixer. Over HDMI, SDI or NDI, audio travels with the picture.
Match the settings on both encoders
For a clean switch from one encoder to the other, both need to send video with the same settings:
- Resolution: the same on both, for example 1920x1080.
- Frame rate: the same on both, for example 30 fps. Watch for one set to 30 and the other to 29.97.
- Codec: H.264 on both, the one every player handles.
- A keyframe every 1 to 2 seconds. In OBS this is the Keyframe Interval: enter 1 or 2 instead of 0, which means auto. Hardware encoders often call it GOP or keyframe interval.
- Similar bitrate and the same audio: a similar video bitrate, and AAC audio at 48 kHz on both.
With matching inputs, the player keeps the same picture and the same size when it changes encoders. To go through every OBS setting, see our guide to professional streaming with OBS.
How to do it on XtreamCast with Backup ingest
On XtreamCast, the backup encoder connects through Backup ingest: your channel takes two inputs, the primary and the backup, and XtreamCast servers choose by themselves which one goes on air. Setup takes four steps:
- Open your channel and go to "Transmission Data". Below the setup guide you will find the "Backup ingest" switch. Turn it on.
- Copy the backup details. The panel shows the same server as your channel and a "Backup key", separate from your main stream key. The "Copy" button copies the whole key.
- Set up the second encoder. In OBS, go to Settings → Stream, pick the Custom service, then paste that server into Server and the backup key into Stream Key. vMix and hardware encoders work the same way as for the main input, as our OBS Studio and vMix setup guides show.
- Stream with both. The main encoder with its usual key and the backup with the backup key, at the same time.
From then on, the switch is automatic. If the main encoder stops sending, the backup goes on air by itself, within seconds. When the main encoder comes back and stays stable, it returns to air. Viewers stay on the same link and the same player without doing a thing.
In "Transmission Data" you see two cards, "Primary" and "Backup". Each one shows "Live" or "No signal", with its bitrate, resolution and frame rate, and the "On air" badge marks the one your viewers are watching. If the two inputs differ in resolution, frame rate or codec, the panel tells you so you can match them. Every switch is recorded in the channel's "Logs" tab, so after the event you know exactly when the backup took over and when the primary came back.
How to test it before the event
A backup you have never tested is a hope, not a plan. Run this rehearsal ahead of time, at the venue and on the same connections you will use on the day:
- Stream with both encoders. Wait until both cards show "Live" and "On air" sits on "Primary".
- Open the player on another device, such as a phone on mobile data, to see what your viewers see.
- Stop the main encoder. Click Stop Streaming in OBS or, to simulate a real failure, unplug its network cable. Within seconds the player carries on with the backup's picture and "On air" moves to "Backup".
- Start the main encoder again. Once it is stable, "On air" returns to "Primary".
- Check the "Logs" tab. Both switches are recorded there.
Run the test once more the other way round: stop the backup while the primary is on air and check that its card changes to "No signal", then back to "Live" when you restart it. That confirms the backup key and settings are right before you need them.
A rehearsal trick: add a small text to the backup's scene, like a "B" in one corner. You can then tell at a glance in the player which encoder is on air. Remove it before you go live.
Tips for the day of the event
- Turn on Backup ingest before you go live. If you were already live when you turned it on, reconnect the main encoder and the backup joins in. The panel reminds you with a message.
- Use the same protocol on both encoders: both on RTMP, or both on RTMPS.
- If you rotate the key, set up both new keys. "Rotate key" renews the main key and the backup key together: paste each one into its encoder.
- Share the work. Collaborators with access to "Transmission Data" can set up Backup ingest too, so whoever runs the encoders at the venue can get it ready.
- Label the machines. Mark each computer and its cables as Primary or Backup, so nobody stops the wrong one under pressure.
- Start both encoders early. A few minutes before showtime, confirm that both cards show "Live", and only then start the program.
- Have someone watching both cards. If the backup goes on air, viewers keep watching: that person checks the main encoder calmly, restarts it and waits for it to return.
Which plans include Backup ingest
Backup ingest is included in all paid video plans. On the server side, XtreamCast works under a 99.995% monthly contractual uptime SLA on all paid plans; with Backup ingest you also protect your side of the stream, the encoder.
It is one of the new panel features in our November 2026 update. The rest of the panel's tools are on the live streaming platform page, and what each plan includes is on pricing.
Keep your stream on air even if your encoder drops
With Backup ingest, a second encoder goes on air by itself within seconds, and viewers stay on the same link and the same player. Included in all paid video plans.