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

rename the title

This commit is contained in:
winlin 2013-12-21 14:19:05 +08:00
parent 7a21427b10
commit 85515f05d3
8 changed files with 32 additions and 32 deletions

View file

@ -43,13 +43,13 @@ python ./research/api-server/server.py 8085
</pre>
<strong>step 6:</strong> publish live stream <br/>
<pre>
FMS URL: rtmp://127.0.0.1:1935/live
FMS URL: rtmp://127.0.0.1/live
Stream: livestream
For example, use ffmpeg to publish:
for((;;)); do \
./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \
-vcodec copy -acodec copy \
-f flv -y rtmp://127.0.0.1:1935/live/livestream; \
-f flv -y rtmp://127.0.0.1/live/livestream; \
sleep 1; \
done
</pre>
@ -63,31 +63,31 @@ For example, use ffmpeg to publish:
</pre>
<strong>step 8:</strong> play live stream. <br/>
<pre>
players: http://demo.srs.com:80/players
rtmp url: rtmp://demo.srs.com:1935/live/livestream
m3u8 url: http://demo.srs.com:80/live/livestream.m3u8
for android: http://demo.srs.com:80/live/livestream.html
players: http://demo.srs.com/players
rtmp url: rtmp://demo.srs.com/live/livestream
m3u8 url: http://demo.srs.com/live/livestream.m3u8
for android: http://demo.srs.com/live/livestream.html
</pre>
<strong>step 9(optinal):</strong> play live stream auto transcoded<br/>
<pre>
rtmp url: rtmp://demo.srs.com:1935/live/livestream_ld
m3u8 url: http://demo.srs.com:80/live/livestream_ld.m3u8
for android: http://demo.srs.com:80/live/livestream_ld.html
rtmp url: rtmp://demo.srs.com:1935/live/livestream_sd
m3u8 url: http://demo.srs.com:80/live/livestream_sd.m3u8
for android: http://demo.srs.com:80/live/livestream_sd.html
rtmp url: rtmp://demo.srs.com/live/livestream_ld
m3u8 url: http://demo.srs.com/live/livestream_ld.m3u8
for android: http://demo.srs.com/live/livestream_ld.html
rtmp url: rtmp://demo.srs.com/live/livestream_sd
m3u8 url: http://demo.srs.com/live/livestream_sd.m3u8
for android: http://demo.srs.com/live/livestream_sd.html
</pre>
<strong>step 10(optinal):</strong> play live stream auto forwarded, the hls dir change to /forward<br/>
<pre>
rtmp url: rtmp://demo.srs.com:19350/live/livestream
m3u8 url: http://demo.srs.com:80/forward/live/livestream.m3u8
for android: http://demo.srs.com:80/forward/live/livestream.html
m3u8 url: http://demo.srs.com/forward/live/livestream.m3u8
for android: http://demo.srs.com/forward/live/livestream.html
rtmp url: rtmp://demo.srs.com:19350/live/livestream_ld
m3u8 url: http://demo.srs.com:80/forward/live/livestream_ld.m3u8
for android: http://demo.srs.com:80/forward/live/livestream_ld.html
m3u8 url: http://demo.srs.com/forward/live/livestream_ld.m3u8
for android: http://demo.srs.com/forward/live/livestream_ld.html
rtmp url: rtmp://demo.srs.com:19350/live/livestream_sd
m3u8 url: http://demo.srs.com:80/forward/live/livestream_sd.m3u8
for android: http://demo.srs.com:80/forward/live/livestream_sd.html
m3u8 url: http://demo.srs.com/forward/live/livestream_sd.m3u8
for android: http://demo.srs.com/forward/live/livestream_sd.html
</pre>
<strong>step 11(optinal):</strong> modify the config and reload it (all features support reload)<br/>
<pre>