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

for #730, support config in/out ack size. 3.0.13

This commit is contained in:
winlin 2017-01-06 14:57:54 +08:00
parent bbbc40f9c2
commit 1b175b1107
7 changed files with 86 additions and 6 deletions

View file

@ -300,6 +300,19 @@ vhost scope.vhost.srs.com {
# vhost chunk size will override the global value.
# default: global chunk size.
chunk_size 128;
# The input ack size, 0 to not set.
# Generally, it's set by the message from peer,
# but for some peer(encoder), it never send message but use a different ack size.
# We can chnage the default ack size in server-side, to send acknowledge message,
# or the encoder maybe blocked after publishing for some time.
# Default: 0
in_ack_size 0;
# The output ack size, 0 to not set.
# This is used to notify the peer(player) to send acknowledge to server.
# Default: 2500000
out_ack_size 2500000;
}
# set the chunk size of vhost.