winlin

Update README.md

正在显示 1 个修改的文件 包含 10 行增加6 行删除
... ... @@ -41,22 +41,26 @@ For example, use ffmpeg to publish:
sleep 1; \
done
</pre>
step 6: play live stream. add server ip to hosts as dev:<br/>
# /etc/hosts <br/>
# C:\Windows\System32\drivers\etc\hosts <br/>
192.168.2.111 dev <br/>
step 6: add server ip to hosts as dev. <br/>
<pre>
# edit the folowing file:
# linux: /etc/hosts
# windows: C:\Windows\System32\drivers\etc\hosts
192.168.2.111 dev
</pre>
step 7: play live stream. <br/>
<pre>
rtmp url: rtmp://dev:1935/live/livestream
m3u8 url: http://dev:80/live/livestream.m3u8
</pre>
step 7: play live stream auto transcoded<br/>
step 8: play live stream auto transcoded<br/>
<pre>
rtmp url: rtmp://dev:1935/live/livestream_ld
m3u8 url: http://dev:80/live/livestream_ld.m3u8
rtmp url: rtmp://dev:1935/live/livestream_sd
m3u8 url: http://dev:80/live/livestream_sd.m3u8
</pre>
step 8: play live stream auto forwarded, the hls dir change to /forward<br/>
step 9: play live stream auto forwarded, the hls dir change to /forward<br/>
<pre>
rtmp url: rtmp://dev:19350/live/livestream_ld
m3u8 url: http://dev:80/forward/live/livestream_ld.m3u8
... ...