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