From 1afa10d0635604c96560a539479c3c3c650bf45e Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 10 Mar 2014 18:12:26 +0800 Subject: [PATCH] simplify usage --- README.md | 135 ++---------------------------------------------------- 1 file changed, 4 insertions(+), 131 deletions(-) diff --git a/README.md b/README.md index 46b85ef6f..7d99c6014 100755 --- a/README.md +++ b/README.md @@ -25,150 +25,23 @@ answer newbie questions, and generally made SRS that much better: [AUTHORS.txt]( ### Wiki [https://github.com/winlinvip/simple-rtmp-server/wiki](https://github.com/winlinvip/simple-rtmp-server/wiki) -### Usage(RTMP) for RTMP only +### Usage -Requires: Centos6.x 64bits, others see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/Build)
-Step 0: get SRS
+Step 1: get SRS
 git clone https://github.com/winlinvip/simple-rtmp-server &&
 cd simple-rtmp-server/trunk
 
-Step 1: build SRS
+Step 2: build SRS
 ./configure --with-ssl --without-hls --without-ffmpeg --without-http && make
 
-Step 2: start SRS
+Step 3: start SRS
 ./objs/srs -c conf/srs.conf
 
-Step 3: [Adobe FMLE](http://www.adobe.com/cn/products/flash-media-encoder.html) publish demo live stream
-
-FMS URL: rtmp://192.168.1.170/live
-Stream:  livestream
-
-Step 4: [VLC (2.1+)](http://www.videolan.org/vlc/) play live stream.
-
-rtmp url: rtmp://192.168.1.170/live/livestream
-
- -### Usage(simple) for all features Requires: Centos6.x 64bits, others see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/Build)
-Step -1: get SRS
-
-git clone https://github.com/winlinvip/simple-rtmp-server &&
-cd simple-rtmp-server/trunk
-
-Step 0: build SRS system.
-
-bash scripts/build.sh
-
-Step 1: start SRS all demo features.
-
-bash scripts/run.sh
-
-Step 2: SRS live show:
-[http://your-server-ip](http://your-server-ip)
-Step 3: stop SRS demo
-
-bash scripts/stop.sh
-
- -### Usage(detail) for all features -Requires: Centos6.x 64bits, others see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/Build)
-Step 0: get SRS
-
-git clone https://github.com/winlinvip/simple-rtmp-server &&
-cd simple-rtmp-server/trunk
-
-Step 1: build SRS
-
-./configure --with-ssl --with-hls --with-ffmpeg --with-http && make
-
-Step 2: start SRS
-
-./objs/srs -c conf/srs.conf
-
-Step 3(optinal): start SRS listen at 19350 to forward to
-
-./objs/srs -c conf/srs.19350.conf
-
-Step 4(optinal): start nginx for HLS
-
-sudo ./objs/nginx/sbin/nginx
-
-Step 5(optinal): start http hooks for SRS callback
-
-python ./research/api-server/server.py 8085
-
-Step 6: publish demo live stream
-
-FMS URL: rtmp://127.0.0.1/live?vhost=demo.srs.com
-Stream:  livestream
-FFMPEG to publish the default demo stream:
-    for((;;)); do \
-        ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \
-        -vcodec copy -acodec copy \
-        -f flv -y rtmp://127.0.0.1/live?vhost=demo.srs.com/livestream; \
-        sleep 1; \
-    done
-
-Step 7: publish players live stream
-
-FMS URL: rtmp://127.0.0.1/live?vhost=players
-Stream:  livestream
-FFMPEG to publish the players demo stream:
-    for((;;)); do \
-        ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \
-        -vcodec copy -acodec copy \
-        -f flv -y rtmp://127.0.0.1/live?vhost=players/livestream; \
-        sleep 1; \
-    done
-
-Step 8: add server ip to client hosts as demo.
-
-# edit the folowing file:
-# linux: /etc/hosts
-# windows: C:\Windows\System32\drivers\etc\hosts
-# where server ip is 192.168.2.111
-192.168.2.111 demo.srs.com
-
-Step 9: play live stream.
-
-players: http://demo.srs.com/players
-rtmp url: rtmp://demo.srs.com/live/livestream
-m3u8 url: http://demo.srs.com/live/livestream.m3u8
-for android: http://demo.srs.com/live/livestream.html
-
-Step 10(optinal): play live stream auto transcoded
-
-rtmp url: rtmp://demo.srs.com/live/livestream_ld
-m3u8 url: http://demo.srs.com/live/livestream_ld.m3u8
-for android: http://demo.srs.com/live/livestream_ld.html
-rtmp url: rtmp://demo.srs.com/live/livestream_sd
-m3u8 url: http://demo.srs.com/live/livestream_sd.m3u8
-for android: http://demo.srs.com/live/livestream_sd.html
-
-Step 11(optinal): play live stream auto forwarded, the hls dir change to /forward
-
-rtmp url: rtmp://demo.srs.com:19350/live/livestream
-m3u8 url: http://demo.srs.com/forward/live/livestream.m3u8
-for android: http://demo.srs.com/forward/live/livestream.html
-rtmp url: rtmp://demo.srs.com:19350/live/livestream_ld
-m3u8 url: http://demo.srs.com/forward/live/livestream_ld.m3u8
-for android: http://demo.srs.com/forward/live/livestream_ld.html
-rtmp url: rtmp://demo.srs.com:19350/live/livestream_sd
-m3u8 url: http://demo.srs.com/forward/live/livestream_sd.m3u8
-for android: http://demo.srs.com/forward/live/livestream_sd.html
-
-Step 12(optinal): modify the config and reload it (all features support reload)
-
-killall -1 srs
-
-or use specified signal to reload:
-
-killall -s SIGHUP srs
-
### Architecture System Architecture: