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

Enable Object Cache and Zero Copy Nack by default. 4.0.77

This commit is contained in:
winlin 2021-03-01 13:14:21 +08:00
parent f4331be2ef
commit d4b8a57cf7
3 changed files with 13 additions and 12 deletions

View file

@ -494,8 +494,8 @@ rtc_server {
# For RTP packet and its payload cache.
rtp_cache {
# Whether enable the RTP packet cache.
# default: off
enabled off;
# default: on
enabled on;
# The cache size for rtp packet in MB, each object is about 300B..
# default: 64
pkt_size 64.0;
@ -506,8 +506,8 @@ rtc_server {
# For RTP shared message and the large buffer cache.
rtp_msg_cache {
#Whether enable the RTP message(a large buffer) cache.
# default: off
enabled off;
# default: on
enabled on;
# The cache size for message object in MB, each object is about 40B.
# default: 16
msg_size 16.0;
@ -579,8 +579,8 @@ vhost rtc.vhost.srs.com {
# default: on
enabled on;
# Whether directly use the packet, avoid copy.
# default: off
no_copy off;
# default: on
no_copy on;
}
# For TWCC.
twcc {