winlin

support reload config(vhost and its detail).

@@ -48,6 +48,7 @@ url: rtmp://127.0.0.1:1935/live/livestream @@ -48,6 +48,7 @@ url: rtmp://127.0.0.1:1935/live/livestream
48 * nginx v1.5.0: 139524 lines <br/> 48 * nginx v1.5.0: 139524 lines <br/>
49 49
50 ### History 50 ### History
  51 +* v0.4, 2013-11-09, support reload config(vhost and its detail).
51 * v0.4, 2013-11-09, support reload config(listen and chunk_size) by SIGHUP(1). 52 * v0.4, 2013-11-09, support reload config(listen and chunk_size) by SIGHUP(1).
52 * v0.4, 2013-11-09, support longtime(>4.6hours) publish/play. 53 * v0.4, 2013-11-09, support longtime(>4.6hours) publish/play.
53 * v0.4, 2013-11-09, support config the chunk_size. 54 * v0.4, 2013-11-09, support config the chunk_size.
1 # the listen ports, split by space. 1 # the listen ports, split by space.
2 -listen 1935; 2 +listen 1935 19350;
3 # the default chunk size is 128, max is 65536, 3 # the default chunk size is 128, max is 65536,
4 # some client does not support chunk size change, 4 # some client does not support chunk size change,
5 # however, most clients supports it and it can improve 5 # however, most clients supports it and it can improve
@@ -9,6 +9,7 @@ chunk_size 65000; @@ -9,6 +9,7 @@ chunk_size 65000;
9 # vhost list, the __defaultVhost__ is the default vhost 9 # vhost list, the __defaultVhost__ is the default vhost
10 # for which cannot identify the required vhost. 10 # for which cannot identify the required vhost.
11 vhost __defaultVhost__ { 11 vhost __defaultVhost__ {
  12 + gop_cache off;
12 } 13 }
13 # the vhost disabled. 14 # the vhost disabled.
14 vhost removed.vhost.com { 15 vhost removed.vhost.com {