Animated diagram: on the left, a mobile sender with several bonded connections. In the middle, four server layers from bottom to top: Debian or Ubuntu, Fail2ban with optional Caddy, Docker with Compose, and the IRL4YOU SRTLA Receiver as a container. On the right, the SRT output to OBS and the management page for the browser and NOALBS. Below, a note that one command sets up Git, Docker, and the receiver

Goal of this guide

A smartphone running Moblin or IRL Pro, a BELABOX, or another compatible encoder sends over SRTLA or SRT to your Ubuntu or Debian server. The IRL4YOU SRTLA Receiver merges the data streams. OBS then pulls the signal over SRT. Management and stats run in the browser.

Smartphone / Encoder → SRTLA :8383/UDP (or SRT :8384/UDP) → IRL4YOU SRTLA Receiver
                                                           ├→ SRT playback :8282/UDP → OBS
                                                           └→ Management, stats, NOALBS :8181/TCP
Project status: Version 1.0.0, amd64 only. Tested with our own Android apps and Moblin over cellular across several networks, with two simultaneous streams and multi-hour runs. Not tested: more than two simultaneous streams, ARM, and other people's users on the same server. It is meant to be run by a single operator.

Contents

1. Requirements

Check the architecture with dpkg --print-architecture. The output has to be amd64.

2. One-command installation

Image: irl4you/srtla-receiver on Docker Hub (tags 1.0.0 and latest). The installation package is in the repository IRL4YOU/srtla-receiver.

The command updates the system, sets up Git and Docker, fetches the package, and installs the receiver. Log in as a regular user with sudo.

wget -qO get.sh https://raw.githubusercontent.com/IRL4YOU/srtla-receiver/main/get.sh && bash get.sh

After the progress bar, the script asks where the server is located (the prompt itself is in German):

At the end, a summary shows the management address, a one-time code for the administrator password, the sending addresses, the ports to open, and the update command. The package is then in ~/srtla-receiver. The script also sets up fail2ban for SSH and the web interface.

Without prompts and more options

With a domain directly, plus SSH with keys only (only sensible if a key is already in place):

wget -qO get.sh https://raw.githubusercontent.com/IRL4YOU/srtla-receiver/main/get.sh && bash get.sh --caddy my.domain.com --ssh-haerten

Replace my.domain.com with your domain. More options, which are passed on to install.sh: --https-ip (HTTPS over the IP with a self-signed certificate, the browser warns once), --ohne-https (management local only, access through an SSH tunnel), --ohne-fail2ban, --nur-schutz, --ja, and --ausfuehrlich.

Video: installation step by step

The video shows the installation on a fresh Linux server with one command, followed by the admin interface in the browser. The intro and captions are in English; the recording itself (terminal output and admin interface) is in German, because that is the language of the software. It shows the “At home / own network” path (Enter). The data center path is only explained. In the video, the user root is logged in; normally you use a user with sudo. The test VM shown no longer exists, and its addresses and keys are invalid. If anything in the video differs from this page, this page is correct.

Chapters in the video

  1. Your own SRTLA receiver
  2. What you need
  3. The command
  4. The installation runs
  5. Where is the server?
  6. Done: the summary
  7. Setting up the admin
  8. Creating a user
  9. Tour of the admin interface
  10. Streams and keys
  11. Live status
  12. Good to know
  13. What's next?
Use the package: Starting the image on its own with docker run runs without fail2ban and without separating the key from the data volume. Going through the installation package is the recommended way. The current compose.yaml is in the repository.

3. Ports and firewall

Ports of the IRL4YOU SRTLA Receiver
PortProtocolPurposeWhen
8383UDPSending over SRTLA (app, phone, box)always open
8384UDPSending over plain SRT (same stream ID)always open
8282UDPSRT playback for OBSalways open (the summary lists it too)
8181TCPManagement, stats, NOALBS directly (HTTP, unencrypted)own network only, without a domain
443TCPHTTPS for management, stats, and NOALBSonly with a domain or the automatic address
80TCPonly for the certificateonly with a domain or the automatic address
22TCPSSH, only if you want to reach the server from outsideoptional
No reachable ports, no external stream: In addition to the firewall on the server, the ports have to be reachable at your hosting provider or router. For 8383 and 8384, mind that they are UDP: a TCP rule does not work. Port 8181 must not be open to the internet.

Handy helper: the firewall port generator.

4. Management and keys

Management runs in the browser. It has an administrator (password of at least 12 characters) and users. Each stream has three separate keys: one for sending, one for OBS, and one for stats. The keys are generated at random, and the management page shows the addresses and keys for each stream so you can copy them. One active sender per stream is possible.

More features: automatic backups with download and restore, a security log without IP addresses, a version display with an update notice, and protection against password guessing. The interface is in German only.

5. Configure the sender

SRTLA over multiple connections

Server:    srt://YOUR-SERVER-IP:8383
Stream ID: publish/live/SENDING-KEY

Plain SRT over one connection

Server:    srt://YOUR-SERVER-IP:8384
Stream ID: publish/live/SENDING-KEY

The management page shows the sending key for each stream. SRT latency on the server is between 1000 and 8000 ms; the sender chooses it, and 4000 ms was tested in everyday use. Depending on the sender app, the address can look different. What matters is the SRTLA mode the sender expects.

6. Receive the stream in OBS

Add a media source in OBS, turn off “Local File”, and enter this as the input:

srt://YOUR-SERVER-IP:8282?streamid=play/live/OBS-KEY

The management page shows the OBS key for each stream. Port 8282/UDP is one of the ports you open (see section 3).

If OBS runs on the same computer as the receiver, the network buffer can be very small. For a remote server, one to three megabytes is a sensible starting point.

7. Stats and NOALBS

There is a public stats page for each user (/USERNAME, without a key) and a live status page.

For NOALBS, the receiver provides a stats address in the format of the NOALBS SrtLiveServer, tested with NOALBS 2.19:

"streamServer": {
  "type": "SrtLiveServer",
  "statsUrl": "https://YOUR.DOMAIN/stats/STATS-KEY",
  "publisher": "publish/live/STATS-KEY"
}

The stats key is the third key of the stream (next to sending and OBS). For each stream, the management page shows the stats address and the publisher name so you can copy them. NOALBS has to be able to reach the address: over HTTPS on port 443 with a domain, or on the same network also at http://SERVER:8181/stats/STATS-KEY. When the stream is offline, the list of senders is empty, and NOALBS treats that as offline. If the sender is connected but the stats show no sender, check the stream ID, the protocol, and the UDP port. If the sender is visible but OBS gets no picture, the playback ID has to match the OBS key.

8. Update and removal

Update

In the ~/srtla-receiver folder:

bash update.sh

The script backs up the data, pulls the latest version, switches over, and rolls back by itself if something fails. To roll back manually, use bash update.sh --rueckweg. Updates are cumulative, so you can skip versions. Accounts, keys, and streams are kept. The management page has no update button; it only shows “New version available”.

Stopping and removing

docker compose down

The command stops the receiver, and the data stays in the volume. Run it in the ~/srtla-receiver folder.

Deleting all data: docker compose down -v additionally deletes all data (users, streams, keys). There is no dedicated removal routine. The server files the script set up (fail2ban, SSH hardening, Caddy) are not removed along with it.

9. License

The IRL4YOU SRTLA Receiver is free to use, including commercially for your own operation. Its own parts (installation and update scripts, Compose, configuration, texts, and the management interface) are covered by a usage license, the LICENSE file in the repository. Not allowed without written permission: selling, renting, offering as a service, passing on, and including in your own products. The IRL4YOU name, the copyright notices, and the license have to stay intact. If you need more, get in touch on Discord. The management interface is not open source.

The open-source parts it contains keep their licenses: the SRTLA receiver is under AGPL-3.0, the SRT library under MPL-2.0, and the SRT server under MIT. All three allow commercial use. The license texts are in the image and in the repository in NOTICE.md. You'll find the source of the modified parts (patches and build plan) in the repository in the quellen/ folder; our changes to them are under the same license as the respective program.

10. Limits

11. Help and feedback

Bugs, wishes, and suggestions: GitHub Issues or the IRL4YOU Discord. Please don't report security vulnerabilities publicly; send a direct message on Discord instead.

Published by IRL4YOU

Related