mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
change server name to demo, dev used for development vhost
This commit is contained in:
parent
9d65cd1c9f
commit
82190d7fa2
1 changed files with 2 additions and 1 deletions
|
@ -42,11 +42,12 @@ For example, use ffmpeg to publish:
|
||||||
sleep 1; \
|
sleep 1; \
|
||||||
done
|
done
|
||||||
</pre>
|
</pre>
|
||||||
step 6: add server ip to hosts as demo. <br/>
|
step 6: 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
|
||||||
# windows: C:\Windows\System32\drivers\etc\hosts
|
# windows: C:\Windows\System32\drivers\etc\hosts
|
||||||
|
# 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 7: play live stream. <br/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue