Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lyamc opened this issue Apr 5, 2021 · 4 comments
Open

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

Lyamc opened this issue Apr 5, 2021 · 4 comments

Comments

@Lyamc
Copy link

Lyamc commented Apr 5, 2021

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
@russelltg
Copy link
Owner

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

@Lyamc
Copy link
Author

Lyamc commented Apr 6, 2021

Yes!

@russelltg
Copy link
Owner

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

@Lyamc
Copy link
Author

Lyamc commented Apr 6, 2021

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

@russelltg russelltg mentioned this issue Apr 28, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants