mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
update readme
This commit is contained in:
parent
8c99d39067
commit
b5adb8c9f9
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ For example, use ffmpeg to publish:
|
|||
-f flv -y rtmp://127.0.0.1/live?vhost=demo.srs.com/livestream; \
|
||||
sleep 1; \
|
||||
done
|
||||
publish the demo stream for players:
|
||||
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/live?vhost=players/livestream; \
|
||||
sleep 1; \
|
||||
done
|
||||
</pre>
|
||||
<strong>step 7:</strong> add server ip to client hosts as demo. <br/>
|
||||
<pre>
|
||||
|
|
Loading…
Reference in a new issue