Belabox SRTLA SRT Server Configuration Commands for Linux - KurTecH-TV/YouTube GitHub Wiki
Below are the commands to run to install SRTLA on Linux:
This will install the prerequisites for SRT/SRTLA installation:
- sudo apt install tclsh pkg-config libssl-dev build-essential make cmake tcl openssl zlib1g-dev gcc perl net-tools nano ssh git zip unzip
- sudo apt update
- sudo apt upgrade
This will download and make the SRTLA server:
- sudo git clone https://github.com/BELABOX/srtla.git
- cd srtla
- sudo make
- cd ../
This will install, configure, and make the SRT server:
- sudo git clone https://github.com/BELABOX/srt.git
- cd srt
- sudo ./configure
- sudo make
This command will start the SRTLA receiver and SRT transmitter. This assumes you have downloaded it under the user srtuser directory. This will also set the SRTLA receiver to listen in on port 5000, which is what you would point the Belabox to, and it will set the SRT transmitter to listen in on port 5001, which is what you would point VLC Player to:
- /home/srtuser/srt/srt-live-transmit -st:yes "srt://127.0.0.1:5002?mode=listener&lossmaxttl=40&latency=2000" "srt://0.0.0.0:5001?mode=listener" & /home/srtuser/srtla/srtla_rec 5000 127.0.0.1 5002