1
0
Fork 0
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:
winlin 2013-12-07 20:34:42 +08:00
parent b29d7ccd56
commit d3cee00b3b
4 changed files with 104 additions and 1 deletions

View file

@ -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