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
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; \
|
-f flv -y rtmp://127.0.0.1/live?vhost=demo.srs.com/livestream; \
|
||||||
sleep 1; \
|
sleep 1; \
|
||||||
done
|
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>
|
</pre>
|
||||||
<strong>step 7:</strong> add server ip to client hosts as demo. <br/>
|
<strong>step 7:</strong> add server ip to client hosts as demo. <br/>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue