Skip to content

Instantly share code, notes, and snippets.

@eirenik0
Last active January 22, 2021 18:23
Show Gist options
  • Save eirenik0/9d24938393c4c2a63861100868d35c3f to your computer and use it in GitHub Desktop.
Save eirenik0/9d24938393c4c2a63861100868d35c3f to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo apt update
sudo apt install -y tclsh pkg-config cmake libssl-dev build-essential git tmux
git clone --depth 1 --branch v1.4.2 https://github.com/Haivision/srt.git
cd srt
./configure --prefix=/usr
make
sudo make install
cd ..
git clone --depth 1 --branch v0.1 https://github.com/ALLATRA-IT/srt-server.git
cd srt-server
cmake .
make
sudo make install
tmux new-session -d -s "srt-server" srt-server 9000 9001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment