1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme

This commit is contained in:
winlin 2013-12-07 20:52:02 +08:00
parent bb22c3b5cd
commit 8f8412b59c

View file

@ -34,7 +34,7 @@ step 5(optional): start http hooks for srs callback <br/>
<pre> <pre>
python ./research/api-server/server.py 8085 python ./research/api-server/server.py 8085
</pre> </pre>
step 5: publish live stream <br/> step 6: publish live stream <br/>
<pre> <pre>
FMS URL: rtmp://127.0.0.1:1935/live FMS URL: rtmp://127.0.0.1:1935/live
Stream: livestream Stream: livestream
@ -46,7 +46,7 @@ For example, use ffmpeg to publish:
sleep 1; \ sleep 1; \
done done
</pre> </pre>
step 6: add server ip to client hosts as demo. <br/> step 7: add server ip to client hosts as demo. <br/>
<pre> <pre>
# edit the folowing file: # edit the folowing file:
# linux: /etc/hosts # linux: /etc/hosts
@ -54,19 +54,19 @@ step 6: add server ip to client hosts as demo. <br/>
# where server ip is 192.168.2.111 # where server ip is 192.168.2.111
192.168.2.111 demo 192.168.2.111 demo
</pre> </pre>
step 7: play live stream. <br/> step 8: play live stream. <br/>
<pre> <pre>
rtmp url: rtmp://demo:1935/live/livestream rtmp url: rtmp://demo:1935/live/livestream
m3u8 url: http://demo:80/live/livestream.m3u8 m3u8 url: http://demo:80/live/livestream.m3u8
</pre> </pre>
step 8: play live stream auto transcoded<br/> step 9: play live stream auto transcoded<br/>
<pre> <pre>
rtmp url: rtmp://demo:1935/live/livestream_ld rtmp url: rtmp://demo:1935/live/livestream_ld
m3u8 url: http://demo:80/live/livestream_ld.m3u8 m3u8 url: http://demo:80/live/livestream_ld.m3u8
rtmp url: rtmp://demo:1935/live/livestream_sd rtmp url: rtmp://demo:1935/live/livestream_sd
m3u8 url: http://demo:80/live/livestream_sd.m3u8 m3u8 url: http://demo:80/live/livestream_sd.m3u8
</pre> </pre>
step 9: play live stream auto forwarded, the hls dir change to /forward<br/> step 10: play live stream auto forwarded, the hls dir change to /forward<br/>
<pre> <pre>
rtmp url: rtmp://demo:19350/live/livestream rtmp url: rtmp://demo:19350/live/livestream
m3u8 url: http://demo:80/forward/live/livestream.m3u8 m3u8 url: http://demo:80/forward/live/livestream.m3u8