Streaming-Relay for the SRT-protocol
Use at your own risk
Requires libsrt-1.4.2
Ubuntu
- you will need to build libsrt yourself
Debian 10:
- use libsrt-openssl-dev from the voc repository
- or build it yourself
Gentoo:
- emerge net-libs/srt
go build
# start relay
./srtrelay
# start publisher
ffmpeg -i test.mp4 -c copy -f mpegts srt://localhost:1337?streamid=publish/test
# start subscriber
ffplay srt://localhost:1337?streamid=play/test
# List available flags
./srtrelay -h
Please take a look at config.toml.example to learn more about configuring srtrelay.
The configuration file can be placed under config.toml in the current working directory, at /etc/srtrelay/config.toml or at a custom location specified via the -config flag.
See docs/API.md for more information about the API.
Thanks go to
- Haivision for srt and srtgo
- Edward Wu for srt-live-server
- Quentin Renard for go-astits