mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update readme
This commit is contained in:
parent
bb22c3b5cd
commit
8f8412b59c
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -34,7 +34,7 @@ step 5(optional): start http hooks for srs callback <br/>
|
|||
<pre>
|
||||
python ./research/api-server/server.py 8085
|
||||
</pre>
|
||||
step 5: publish live stream <br/>
|
||||
step 6: publish live stream <br/>
|
||||
<pre>
|
||||
FMS URL: rtmp://127.0.0.1:1935/live
|
||||
Stream: livestream
|
||||
|
@ -46,7 +46,7 @@ For example, use ffmpeg to publish:
|
|||
sleep 1; \
|
||||
done
|
||||
</pre>
|
||||
step 6: add server ip to client hosts as demo. <br/>
|
||||
step 7: add server ip to client hosts as demo. <br/>
|
||||
<pre>
|
||||
# edit the folowing file:
|
||||
# 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
|
||||
192.168.2.111 demo
|
||||
</pre>
|
||||
step 7: play live stream. <br/>
|
||||
step 8: play live stream. <br/>
|
||||
<pre>
|
||||
rtmp url: rtmp://demo:1935/live/livestream
|
||||
m3u8 url: http://demo:80/live/livestream.m3u8
|
||||
</pre>
|
||||
step 8: play live stream auto transcoded<br/>
|
||||
step 9: play live stream auto transcoded<br/>
|
||||
<pre>
|
||||
rtmp url: rtmp://demo:1935/live/livestream_ld
|
||||
m3u8 url: http://demo:80/live/livestream_ld.m3u8
|
||||
rtmp url: rtmp://demo:1935/live/livestream_sd
|
||||
m3u8 url: http://demo:80/live/livestream_sd.m3u8
|
||||
</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>
|
||||
rtmp url: rtmp://demo:19350/live/livestream
|
||||
m3u8 url: http://demo:80/forward/live/livestream.m3u8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue