mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
chunk size default to 60000, high performance. set chunk size when forward
This commit is contained in:
parent
4d631d749f
commit
993c5daec7
3 changed files with 37 additions and 4 deletions
|
@ -4,8 +4,8 @@ listen 1935;
|
|||
# some client does not support chunk size change,
|
||||
# however, most clients supports it and it can improve
|
||||
# performance about 10%.
|
||||
# default: 4096
|
||||
chunk_size 65000;
|
||||
# default: 60000
|
||||
chunk_size 60000;
|
||||
# the logs dir.
|
||||
# if enabled ffmpeg, each stracoding stream will create a log file.
|
||||
# default: ./objs/logs
|
||||
|
@ -26,7 +26,7 @@ vhost __defaultVhost__ {
|
|||
# for which cannot identify the required vhost.
|
||||
# for default demo.
|
||||
vhost demo.srs.com {
|
||||
chunk_size 4096;
|
||||
chunk_size 60000;
|
||||
enabled on;
|
||||
gop_cache on;
|
||||
queue_length 30;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue