|
|
|
@ -16,7 +16,7 @@ who is the contributors: <br/>
|
|
|
|
|
2. the name of all contributors will send in the response of NetConnection.connect and metadata.
|
|
|
|
|
|
|
|
|
|
### Usage(simple)
|
|
|
|
|
<strong>step 1:</strong> get srs <br/>
|
|
|
|
|
<strong>step 0:</strong> get srs <br/>
|
|
|
|
|
<pre>
|
|
|
|
|
tar xf simple-rtmp-server-*.*.tar.gz
|
|
|
|
|
cd simple-rtmp-server-*.*/trunk
|
|
|
|
@ -26,11 +26,11 @@ or get the latest code:<br/>
|
|
|
|
|
git clone https://github.com/winlinvip/simple-rtmp-server
|
|
|
|
|
cd simple-rtmp-server/trunk
|
|
|
|
|
</pre>
|
|
|
|
|
<strong>step 2:</strong> build and start srs all demo features.<br/>
|
|
|
|
|
<strong>step 1:</strong> build and start srs all demo features.<br/>
|
|
|
|
|
<pre>
|
|
|
|
|
bash scripts/demo.sh
|
|
|
|
|
</pre>
|
|
|
|
|
<strong>step 3:</strong> srs live show: [http://demo.srs.com/players](http://demo.srs.com/players) <br/>
|
|
|
|
|
<strong>step 2:</strong> srs live show: [http://demo.srs.com/players](http://demo.srs.com/players) <br/>
|
|
|
|
|
requires client add server ip to hosts. <br/>
|
|
|
|
|
<pre>
|
|
|
|
|
# edit the folowing file:
|
|
|
|
@ -39,22 +39,28 @@ requires client add server ip to hosts. <br/>
|
|
|
|
|
# where server ip is 192.168.2.111
|
|
|
|
|
192.168.2.111 demo.srs.com
|
|
|
|
|
</pre>
|
|
|
|
|
<strong>step 4:</strong> stop srs demo<br/>
|
|
|
|
|
<strong>step 3:</strong> stop srs demo<br/>
|
|
|
|
|
<pre>
|
|
|
|
|
bash scripts/stop.sh
|
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
|
### Usage(detail)
|
|
|
|
|
<strong>step 1:</strong> build srs <br/>
|
|
|
|
|
<strong>step 0:</strong> get srs <br/>
|
|
|
|
|
<pre>
|
|
|
|
|
tar xf simple-rtmp-server-*.*.tar.gz
|
|
|
|
|
cd simple-rtmp-server-*.*/trunk
|
|
|
|
|
./configure --with-ssl --with-hls --with-ffmpeg --with-http
|
|
|
|
|
make
|
|
|
|
|
</pre>
|
|
|
|
|
or get the latest code:<br/>
|
|
|
|
|
<pre>
|
|
|
|
|
git clone https://github.com/winlinvip/simple-rtmp-server
|
|
|
|
|
git clone https://github.com/winlinvip/simple-rtmp-server
|
|
|
|
|
cd simple-rtmp-server/trunk
|
|
|
|
|
</pre>
|
|
|
|
|
<strong>step 1:</strong> build srs <br/>
|
|
|
|
|
<pre>
|
|
|
|
|
./configure --with-ssl --with-hls --with-ffmpeg --with-http && make
|
|
|
|
|
</pre>
|
|
|
|
|
or get the latest code:<br/>
|
|
|
|
|
<pre>
|
|
|
|
|
cd simple-rtmp-server/trunk
|
|
|
|
|
./configure --with-ssl --with-hls --with-ffmpeg --with-http
|
|
|
|
|
</pre>
|
|
|
|
|