mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine the stat logs, limit the object cache pool
This commit is contained in:
parent
30d760f909
commit
3989f2d553
8 changed files with 202 additions and 44 deletions
|
@ -497,12 +497,30 @@ rtc_server {
|
|||
# then system queue is 2000*4 = 8k, user can incrase reuseport to incrase the queue.
|
||||
# default: 2000
|
||||
queue_length 2000;
|
||||
# Whether enable the RTP packet cache.
|
||||
# default: off
|
||||
rtp_cache off;
|
||||
#Whether enable the RTP message(a large buffer) cache.
|
||||
# default: off
|
||||
rtp_msg_cache off;
|
||||
# For RTP packet and its payload cache.
|
||||
rtp_cache {
|
||||
# Whether enable the RTP packet cache.
|
||||
# default: off
|
||||
enabled off;
|
||||
# The cache size for rtp packet in MB, each object is about 300B..
|
||||
# default: 128
|
||||
pkt_size 128.0;
|
||||
# The cache size for rtp payload in MB, each object is about 40B.
|
||||
# default: 32
|
||||
payload_size 32.0;
|
||||
}
|
||||
# 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;
|
||||
# The cache size for message object in MB, each object is about 40B.
|
||||
# default: 32
|
||||
msg_size 32.0;
|
||||
# The cache size for message large buffer in MB, each object is about 1500B.
|
||||
# default: 1024
|
||||
buffer_size 1024.0;
|
||||
}
|
||||
# The black-hole to copy packet to, for debugging.
|
||||
# For example, when debugging Chrome publish stream, the received packets are encrypted cipher,
|
||||
# we can set the publisher black-hole, SRS will copy the plaintext packets to black-hole, and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue