1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support set live queue length

This commit is contained in:
winlin 2013-12-15 18:25:55 +08:00
parent 270041b225
commit b4093bfbe4
10 changed files with 276 additions and 95 deletions

View file

@ -21,6 +21,7 @@ max_connections 2000;
vhost __defaultVhost__ {
enabled on;
gop_cache on;
queue_length 30;
forward 127.0.0.1:19350;
hls {
enabled on;
@ -92,7 +93,8 @@ vhost __defaultVhost__ {
vhost dev {
enabled on;
gop_cache on;
forward 127.0.0.1:19350;
queue_length 30;
#forward 127.0.0.1:19350;
hls {
enabled off;
hls_path ./objs/nginx/html;
@ -685,6 +687,11 @@ vhost min.delay.com {
# set to on if requires client fast startup.
# default: on
gop_cache off;
# the max live queue length in seconds.
# if the messages in the queue exceed the max length,
# drop the old whole gop.
# default: 30
queue_length 10;
}
# the vhost for antisuck.
vhost refer.anti_suck.com {