mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add cherrypy api server
This commit is contained in:
parent
b29d7ccd56
commit
d3cee00b3b
4 changed files with 104 additions and 1 deletions
|
@ -15,7 +15,7 @@ step 1: build srs <br/>
|
|||
<pre>
|
||||
tar xf simple-rtmp-server-*.*.tar.gz
|
||||
cd simple-rtmp-server-*.*/trunk
|
||||
./configure --with-ssl --with-hls --with-ffmpeg
|
||||
./configure --with-ssl --with-hls --with-ffmpeg --with-http
|
||||
make
|
||||
</pre>
|
||||
step 2: start srs <br/>
|
||||
|
@ -30,6 +30,10 @@ step 4(optional): start nginx for HLS <br/>
|
|||
<pre>
|
||||
sudo ./objs/nginx/sbin/nginx
|
||||
</pre>
|
||||
step 5(optional): start http hooks for srs callback <br/>
|
||||
<pre>
|
||||
python ./research/api-server/server.py 8085
|
||||
</pre>
|
||||
step 5: publish live stream <br/>
|
||||
<pre>
|
||||
FMS URL: rtmp://127.0.0.1:1935/live
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue