Failover and redundancy, in plain terms
Redundancy is having a spare ready before you need it: a second encoder, a second internet line, a second path for the signal. Failover is the switch to that spare when the first one fails, either automatically or by a person following a plan. You can have redundancy without automatic failover, such as a backup laptop someone starts by hand, and that is often the honest, affordable version.
Picture a two-hour event. At minute 80 the venue's fiber goes down. Without a plan, viewers see a frozen frame, then an error, and most of them leave. With a 4G router already connected as a backup, the encoder reconnects within seconds and the stream carries on. Same event, same equipment, one decision made a week earlier.
The five places a live stream can fail
- The source: the encoder, the computer running OBS, a camera or a capture card.
- The venue's internet: the line itself, the router, the Wi-Fi.
- The ingest server that receives your stream.
- The origin that packages and serves the stream as HLS.
- Delivery: the CDN, if there is one, and each viewer's connection and player.
Each one needs its own answer. The first two are entirely in your hands, and in practice they are where a lot of live streams break, so that is where your effort and money should go first.
Protect the source with a backup encoder
The simplest redundancy is a second encoder, configured identically and already running: a second laptop with OBS, or a software encoder behind your hardware unit. Feed both from the same program output, through a switcher with two outputs or a splitter, so the backup carries exactly the same picture and sound.
How you switch depends on the server. Some broadcast platforms accept a primary and a backup ingest and swap between them on their own. XtreamCast does not: each channel has one ingest, and the switch to the backup is manual. That works well if you plan it:
- Keep the backup encoder open with its output stopped, pointed at the same server URL and stream key. Do not leave both pushing to the same key at the same time: depending on the server, the second connection is rejected or kicks out the first, and the stream flips between sources.
- When the main encoder fails, stop it completely, or unplug its network cable if it has frozen, and start the backup.
- Decide in advance who does it, and rehearse. With practice it takes seconds, not minutes.
Keep a simple slate scene on the backup ("We will be right back") so there is something on screen while the main source recovers.
Protect the connection with a second way out
The venue's internet is the weakest link in many streams, especially in churches, hotels and event halls where the line is shared with everyone else in the building. Your options, from simplest to most capable:
| Option | How it switches | What it protects | Best for |
|---|---|---|---|
| Dual-WAN router with two providers | Automatically, in seconds; the encoder reconnects | One line failing | Fixed venues |
| 4G/5G router as backup | Automatically through the router, or by hand | The main line failing | Any location with coverage |
| Bonding (SRTLA, LiveU, Teradek, TVU, Speedify) | No switch: every link carries the stream at once | A line failing and capacity dropping | Outdoor events, sports, unreliable venues |
| Satellite internet (Starlink) as backup | Through a dual-WAN router | Sites without decent wired internet | Remote and rural venues |
One detail people miss: when a dual-WAN router moves you to the second line, your public address changes and the RTMP or SRT session breaks. The encoder has to reconnect, which is why its automatic reconnect setting matters. Bonding avoids that break, because the session never depended on a single line. Our guide to SRTLA and SRT bonding explains how it works and what it takes to run.
Three more habits help on any connection:
- Send SRT from unstable links. SRT recovers lost packets within a latency buffer you choose, where RTMP over TCP stalls. XtreamCast ingests both, and the SRT server page shows the setup.
- Leave headroom. Send no more than about 60 percent of your sustained upload, so a dip does not become a drop. Our RTMP bitrate guide has a table by connection speed.
- Turn on automatic reconnect. In OBS it lives in Settings, Advanced. Give it enough retries to ride out a minute or two of trouble.
The server side: what a managed platform covers, and what it doesn't
Here the honest answer depends on the provider, so ask before you assume anything.
On XtreamCast
Each channel lives on one origin, in Chile or North America, and that origin is monitored around the clock: if a session freezes, it restarts on its own and your encoder reconnects. Paid plans carry a 99.995% monthly contractual uptime SLA. What we do not offer is automatic failover to a second origin, replication of your channel across origins or switching between CDNs. One channel is one origin, and we would rather say so up front.
An SLA is a commitment about our part of the chain. It does not replace a backup line at your venue, and it cannot help if the stream never leaves the building. The free plan has no SLA, so treat it as a place to rehearse, not to run events that cannot fail.
If you run your own server
With Nginx-RTMP or MediaMTX, high availability is your project: at least two servers in different locations, health checks every few seconds, a load balancer or DNS record that moves traffic when one fails, and shared storage if you record. Doing that well takes weeks of engineering and at least twice the servers, and it still needs someone on call during your events.
What broadcasters build
TV channels, betting operators and large pay-per-view events typically run two encoders into two ingest points in different locations, redundant packagers and two or more CDNs with automatic switching in the player or in DNS. If your event truly needs that, for example because five minutes of black means hundreds of refund requests, you need a provider designed for multi-origin delivery. We would rather tell you that than sell you a single origin for it.
Delivery: the CDN and the viewer's player
Multi-CDN setups give the player a list of alternative addresses, or steer viewers by DNS, when one provider has trouble in a region. It is a big-operator tool with a real operating cost, and our guide on what a video CDN is explains when a CDN helps at all. On XtreamCast, Global CDN is an add-on that distributes your channel through the CDN providers we work with, without automatic switching between them.
The last link is the viewer's own connection. The standard HLS player keeps about 30 seconds of margin on purpose, which absorbs short drops on the viewer's side. If you trade that margin for low latency with LL-HLS or WebRTC, you also give up part of that cushion, so choose it when interaction matters more than resilience.
Keep a recording, whatever happens
Redundancy also means not losing the content. Record locally while you stream (our guide on recording and streaming at the same time in OBS has the settings) and, on paid plans, record on the server with Recording Cloud, which you can start, stop and split while the stream is live. The two protect different things: the local file keeps going when the connection drops, and the cloud recording survives a computer that crashes.
A redundancy checklist by level
Basic: churches, small companies, occasional streams
- A backup connection, usually a 4G/5G router.
- Automatic reconnect enabled in the encoder.
- A local recording of every stream.
- A rehearsal on the real connection, at the real time of day.
- A managed streaming server with monitoring, rather than one built at home.
Professional: producers, schools, regional channels
- Everything above.
- A backup encoder fed from the same program output.
- A dual-WAN router with two different providers.
- SRT from any unstable link.
- Recording on the server as well as locally.
- A written plan that says who switches what, and when.
Critical: 24/7 channels, live sports, pay-per-view
- Everything above.
- Bonding wherever you cannot get two solid wired lines.
- Someone watching the stream and the encoder stats for the whole event, with alerts.
- A paid plan with a contractual SLA.
- Failure drills: pull the cable on purpose during a rehearsal and time the recovery.
- If a single origin is not acceptable for the event, an architecture designed for multi-origin delivery.
The rule we give customers: if five minutes of black costs you more than a month of redundancy, the redundancy pays for itself. Price both before the event, not after.
Protect your side of the chain, and let us run ours
Paid video plans include SRT ingest, Recording Cloud and a 99.995% monthly contractual uptime SLA. Rehearse your encoder and connection on the free plan first.