russelltg/srt-rs

How to get OBS Stream --> srt-rs --> Player

Lyamc opened this issue · 4 comments

Lyamc commented

Ubuntu 21.04

sudo apt update; sudo apt install git build-essential cargo
mkdir -p build
cd build
git clone https://github.com/russelltg/srt-rs
cd srt-rs
cargo build --release
sudo ln -s "$PWD/target/release/srt-transmit" "/usr/local/bin/srt-transmit"

It has now been installed and is ready to use. Make sure any ports you want to use are allowed through the firewall:

sudo ufw allow 3333
sudo ufw allow 4444

Now you can run the application, QUOTATION MARKS ARE REQUIRED or else the & will screw up everything

srt-transmit "srt://:3333?latency_ms=20&autoreconnect" "srt://:4444?latency_ms=20&multiplex&autoreconnect"

Receiving SRT at 0.0.0.0:3333 and Sending SRT at 0.0.0.0:4444

OBS Settings
image

And I test this with ffplay

ffplay -fflags nobuffer -i srt://192.168.68.56:4444

Is this a....bug report? Tutorial?

Lyamc commented

Yes!

Wait....sorry...which one?

Lyamc commented

There’s virtually no documentation on getting a stream up and running for testing.