What it does
Bonding splits your stream across several connections and joins it back together on the other end. If one connection slows or drops, the others carry on, and the combined speed is often higher than any single connection. The protocol is called SRTLA (SRT with link aggregation). IRL Relay can receive it from version 1.31, on both the Free and Pro plans. New to the idea? Read IRL streaming basics first.
What you need
- IRL Relay 1.31 or newer. Bonding isn't in 1.30 or older: the help page there says bonded connections are not received.
- A sending app or device that supports SRTLA. Several mobile apps and bonding boxes do. Check your app's settings for "SRTLA", and use whichever you already trust.
- Two or more connections on the sender, for example two SIMs on different networks, or a SIM and Wi-Fi.
- Access to the machine IRL Relay runs on, and to your router if it sits at home.
Set it up
- Download the latest version from the downloads page and replace your files with it.
- Rebuild the image from the new Dockerfile. The bonding receiver is the open-source
srtlaprogram, and it is built from its source during this step, so an old image won't have it. - Publish the bonding port. Add
-p 5000:5000/udpto your run command (or the matching UDP 5000 line in your compose file). Bonding uses UDP port 5000, not TCP. - Forward UDP 5000 on your router to the machine running IRL Relay, if it is at home. On a server with a public address, allow UDP 5000 in its firewall.
- Start it and open an input. Under How to connect this input IRL Relay shows that input's bonding address. Copy it into your sending app. Where to type each value.
In your sending app
- Choose the SRTLA output (not plain SRT or RTMP).
- Enter the address and port shown on the input, which is your server's address on UDP 5000.
- Use the same stream key as that input. There is no separate bonding key.
- Turn on each connection you want bonded in the app, then go live.
The input should show as connected in IRL Relay, and from there everything works as normal: scenes, destinations, backup scene when the sender drops.
If it doesn't connect
- Nothing arrives at all: UDP 5000 is almost always the cause. Check the port is published on the container, forwarded on the router (UDP, not TCP) and allowed through any firewall. Test from a phone on mobile data rather than from your home Wi-Fi.
- Works on Wi-Fi at home but not on mobile data: some home setups can't loop back to their own public address. Test from outside your network.
- "Bonded connections are not received": you are on an old version or an old image. Update and rebuild.
- Connects, then keeps dropping: lower the bitrate (see the bitrate guide) and check each SIM actually has signal and data.
Good to know
Bonding support is new. It has been tested with the open-source sender, so if you depend on it for a live event, run your own app through a test stream first. Your mobile plans still apply: bonding uses data on every connection you turn on. If something doesn't behave, tell us which app and device you use through the contact page.
Next step
Not running IRL Relay yet? It is free to use, and there is a free 7-day Pro trial.