mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support reload config(vhost and its detail).
This commit is contained in:
parent
68ccd7eb64
commit
aef2fe9db5
2 changed files with 3 additions and 1 deletions
|
@ -48,6 +48,7 @@ url: rtmp://127.0.0.1:1935/live/livestream
|
||||||
* nginx v1.5.0: 139524 lines <br/>
|
* nginx v1.5.0: 139524 lines <br/>
|
||||||
|
|
||||||
### History
|
### History
|
||||||
|
* v0.4, 2013-11-09, support reload config(vhost and its detail).
|
||||||
* v0.4, 2013-11-09, support reload config(listen and chunk_size) by SIGHUP(1).
|
* v0.4, 2013-11-09, support reload config(listen and chunk_size) by SIGHUP(1).
|
||||||
* v0.4, 2013-11-09, support longtime(>4.6hours) publish/play.
|
* v0.4, 2013-11-09, support longtime(>4.6hours) publish/play.
|
||||||
* v0.4, 2013-11-09, support config the chunk_size.
|
* v0.4, 2013-11-09, support config the chunk_size.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# the listen ports, split by space.
|
# the listen ports, split by space.
|
||||||
listen 1935;
|
listen 1935 19350;
|
||||||
# the default chunk size is 128, max is 65536,
|
# the default chunk size is 128, max is 65536,
|
||||||
# some client does not support chunk size change,
|
# some client does not support chunk size change,
|
||||||
# however, most clients supports it and it can improve
|
# however, most clients supports it and it can improve
|
||||||
|
@ -9,6 +9,7 @@ chunk_size 65000;
|
||||||
# vhost list, the __defaultVhost__ is the default vhost
|
# vhost list, the __defaultVhost__ is the default vhost
|
||||||
# for which cannot identify the required vhost.
|
# for which cannot identify the required vhost.
|
||||||
vhost __defaultVhost__ {
|
vhost __defaultVhost__ {
|
||||||
|
gop_cache off;
|
||||||
}
|
}
|
||||||
# the vhost disabled.
|
# the vhost disabled.
|
||||||
vhost removed.vhost.com {
|
vhost removed.vhost.com {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue