正在显示
1 个修改的文件
包含
14 行增加
和
8 行删除
| @@ -16,7 +16,7 @@ who is the contributors: <br/> | @@ -16,7 +16,7 @@ who is the contributors: <br/> | ||
| 16 | 2. the name of all contributors will send in the response of NetConnection.connect and metadata. | 16 | 2. the name of all contributors will send in the response of NetConnection.connect and metadata. |
| 17 | 17 | ||
| 18 | ### Usage(simple) | 18 | ### Usage(simple) |
| 19 | -<strong>step 1:</strong> get srs <br/> | 19 | +<strong>step 0:</strong> get srs <br/> |
| 20 | <pre> | 20 | <pre> |
| 21 | tar xf simple-rtmp-server-*.*.tar.gz | 21 | tar xf simple-rtmp-server-*.*.tar.gz |
| 22 | cd simple-rtmp-server-*.*/trunk | 22 | cd simple-rtmp-server-*.*/trunk |
| @@ -26,11 +26,11 @@ or get the latest code:<br/> | @@ -26,11 +26,11 @@ or get the latest code:<br/> | ||
| 26 | git clone https://github.com/winlinvip/simple-rtmp-server | 26 | git clone https://github.com/winlinvip/simple-rtmp-server |
| 27 | cd simple-rtmp-server/trunk | 27 | cd simple-rtmp-server/trunk |
| 28 | </pre> | 28 | </pre> |
| 29 | -<strong>step 2:</strong> build and start srs all demo features.<br/> | 29 | +<strong>step 1:</strong> build and start srs all demo features.<br/> |
| 30 | <pre> | 30 | <pre> |
| 31 | bash scripts/demo.sh | 31 | bash scripts/demo.sh |
| 32 | </pre> | 32 | </pre> |
| 33 | -<strong>step 3:</strong> srs live show: [http://demo.srs.com/players](http://demo.srs.com/players) <br/> | 33 | +<strong>step 2:</strong> srs live show: [http://demo.srs.com/players](http://demo.srs.com/players) <br/> |
| 34 | requires client add server ip to hosts. <br/> | 34 | requires client add server ip to hosts. <br/> |
| 35 | <pre> | 35 | <pre> |
| 36 | # edit the folowing file: | 36 | # edit the folowing file: |
| @@ -39,22 +39,28 @@ requires client add server ip to hosts. <br/> | @@ -39,22 +39,28 @@ requires client add server ip to hosts. <br/> | ||
| 39 | # where server ip is 192.168.2.111 | 39 | # where server ip is 192.168.2.111 |
| 40 | 192.168.2.111 demo.srs.com | 40 | 192.168.2.111 demo.srs.com |
| 41 | </pre> | 41 | </pre> |
| 42 | -<strong>step 4:</strong> stop srs demo<br/> | 42 | +<strong>step 3:</strong> stop srs demo<br/> |
| 43 | <pre> | 43 | <pre> |
| 44 | bash scripts/stop.sh | 44 | bash scripts/stop.sh |
| 45 | </pre> | 45 | </pre> |
| 46 | 46 | ||
| 47 | ### Usage(detail) | 47 | ### Usage(detail) |
| 48 | -<strong>step 1:</strong> build srs <br/> | 48 | +<strong>step 0:</strong> get srs <br/> |
| 49 | <pre> | 49 | <pre> |
| 50 | tar xf simple-rtmp-server-*.*.tar.gz | 50 | tar xf simple-rtmp-server-*.*.tar.gz |
| 51 | cd simple-rtmp-server-*.*/trunk | 51 | cd simple-rtmp-server-*.*/trunk |
| 52 | -./configure --with-ssl --with-hls --with-ffmpeg --with-http | ||
| 53 | -make | ||
| 54 | </pre> | 52 | </pre> |
| 55 | or get the latest code:<br/> | 53 | or get the latest code:<br/> |
| 56 | <pre> | 54 | <pre> |
| 57 | -git clone https://github.com/winlinvip/simple-rtmp-server | 55 | +git clone https://github.com/winlinvip/simple-rtmp-server |
| 56 | +cd simple-rtmp-server/trunk | ||
| 57 | +</pre> | ||
| 58 | +<strong>step 1:</strong> build srs <br/> | ||
| 59 | +<pre> | ||
| 60 | +./configure --with-ssl --with-hls --with-ffmpeg --with-http && make | ||
| 61 | +</pre> | ||
| 62 | +or get the latest code:<br/> | ||
| 63 | +<pre> | ||
| 58 | cd simple-rtmp-server/trunk | 64 | cd simple-rtmp-server/trunk |
| 59 | ./configure --with-ssl --with-hls --with-ffmpeg --with-http | 65 | ./configure --with-ssl --with-hls --with-ffmpeg --with-http |
| 60 | </pre> | 66 | </pre> |
-
请 注册 或 登录 后发表评论