Skip to content

One SRT stream input and multiple SRT output [some like RTMP Pull mechanism]

Notifications You must be signed in to change notification settings

hehh2001/srt-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srt-server

Dependencies

  1. SRT (https://github.com/Haivision/srt)
  2. cmake > 3.16

Installation

Build from source

srt-server can only build under linux. Was tested under Ubuntu 20.04.

  1. Build SRT:
git clone https://github.com/Haivision/srt.git
sudo apt-get update
sudo apt-get install -y tclsh pkg-config cmake libssl-dev build-essential
cd srt 
./configure --prefix=/usr
make
sudo make install
  1. Build srt-server:
git clone https://github.com/ALLATRA-IT/srt-server.git
cd srt-server
cmake .
make
sudo make install

Oneliner installer:

sudo apt update && sudo apt install -y tclsh pkg-config cmake libssl-dev build-essential git && git clone https://github.com/Haivision/srt.git && cd srt && ./configure --prefix=/usr && make && sudo make install && cd .. && git clone https://github.com/ALLATRA-IT/srt-server.git && cd srt-server && cmake . && make && sudo make install

Download release binaries

https://github.com/ALLATRA-IT/srt-server/releases

Usage

srt-server [PORT_RECEIVE PORT_SEND]

if PORT_RECEIVE and PORT_SEND are not specified, by default server receives on port 9000 and sends on 9001

About

One SRT stream input and multiple SRT output [some like RTMP Pull mechanism]

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.0%
  • C 2.0%
  • CMake 1.0%