-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ALLATRA-IT/update-installation
Update installation
- Loading branch information
Showing
2 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
|
||
|
||
<h1>srt-server</h1> | ||
|
||
<h3>Dependencies</h3> | ||
<ul> | ||
<li>SRT (https://github.com/Haivision/srt)</li> | ||
<li>cmake > 3.17.2</li> | ||
</ul> | ||
|
||
<h3>Build</h3> | ||
<div style="padding-left: 20px"> | ||
<h4>1. Build from source</h4> | ||
srt-server can only build under linux. Was tested under Ubuntu 20.04. | ||
|
||
``` | ||
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 | ||
- ./configure --prefix=/usr | ||
- make | ||
- sudo make install | ||
Build srt-server: | ||
- git clone https://github.com/AKM2109/srt-server.git | ||
- cmake . | ||
- make | ||
- sudo make install | ||
``` | ||
|
||
<h4>2. Download release binaries</h4> | ||
|
||
</div> | ||
|
||
<h3>Usage</h3> | ||
<div style="padding-left: 20px"> | ||
<h4>srt-server [PORT_RECEIVE PORT_SEND]</h4> | ||
|
||
_if PORT_RECEIVE and PORT_SEND are not specified, by default server receives on port 9000 and sends on 9001_ | ||
</div> | ||
# 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 | ||
``` | ||
2. 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* |