Set up redundant NDI® over IP with Bonding
In this guide, we’ll show you how to create a redundant NDI® stream using SRT Bonding.
This setup ensures that if your main stream fails, a backup stream automatically takes over, making your NDI® stream more reliable for cloud video production.
Understanding SRT Bonding
First, let’s briefly explain how SRT Main/Backup works :
You send multiple streams to an SRT server, but only the Main stream is active.
The Backup streams stays on standb. If the main stream fails, one of the Backups automatically takes over.
Setting Up Main and Backup Streams
Let's start by setting up the Main and Backup streams, and later we'll configure the switching mechanism.
First, create an SRT Server for the Main stream.
1. In the SRT Servers section, click "Add New."
Name your server.
Specify Publisher and Receiver ports.
Save your server.
Repeat the process to create a second SRT server for your Backup stream.
Set Up SRT Bonding for redundancy
Now, let's set up the SRT Bonding server that will handle stream switching between the main and backup streams.
Create a new SRT server and name it something like "SRT Bonding."
Set the Publisher and Receiver ports.
Unfold Routing settings and choose SRT Master/Slave.
Set Routing Mode to "Pull."
Add the Main and Backup SRT servers as sources.
First, add your Main server.
Routing Host: Use either the public IP of your server or localhost for Routing Host.
Routing SRT Port: Enter the Receiver Port of your Main SRT server.
Destination SRT Server name: Enter the server name.
Click "Add Host" and repeat the steps for the Backup SRT server.
Unfold Allowed Streams section, click "Add Stream," and set the Role to Puller.
Save your changes.
Send streams to SRT Servers
Next, send your Main and Backup streams to their respective SRT servers:
Copy the SRT Publisher URL for each server.
Use these URLs to send your streams to the Main and Backup SRT servers.
Converting the Bonded Stream to NDI®
Once the SRT Bonding is configured, we’ll convert the bonded stream into an NDI® device, making your NDI® stream redundant.
1. First, ensure your NDI® network is set up:
Set up NDI® network configuration in Callaba
2. Navigate to the NDI Adapters section. Click "Add New" to create a new adapter.
Name your adapter and select the SRT Bonding Server as the input.
Name your NDI® device.
Save the settings.
Your NDI® device should now be discoverable in the Discovered Devices section.
Testing your redundant NDI® Stream
To ensure the redundancy is working, use an NDI® Monitor to view your stream.
You’ll see the Main stream by default.
To test the redundancy, simulate a failure by stopping the Main SRT Server.
When the Main stream stops, the system will automatically switch to the Backup stream.
By following these steps, you’ve made your NDI® stream redundant with SRT Bonding, ensuring a more stable and reliable video production setup.
That’s it! You’re all set to enjoy a redundant NDI® stream in your cloud environment.
Learn more
- How to launch Callaba on Amazon Web Services
- How to convert SRT streams into cloud NDI® devices
- Set up NDI® network configuration in Callaba
- Sync NDI® streams in the cloud: set Timestamp Offset
Follow us on social media
LinkedIn • Reddit • Instagram • Facebook • Youtube • X (Twitter) • Discord