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

For #3236: Live: Change gop cache limits to 2500. v5.0.94 (#3273)

This commit is contained in:
Winlin 2022-11-23 09:50:19 +08:00 committed by winlin
parent 178e40a5fc
commit 96b4918c25
4 changed files with 6 additions and 6 deletions

View file

@ -1098,9 +1098,9 @@ vhost play.srs.com {
gop_cache off;
# Limit the max frames in gop cache. It might cause OOM if video stream has no IDR frame, so we limit to N
# frames by default.
# default: 250
gop_cache_max_frames 250;
# frames by default. Note that it's the size of gop cache, including videos, audios and other messages.
# default: 2500
gop_cache_max_frames 2500;
# the max live queue length in seconds.
# if the messages in the queue exceed the max length,

View file

@ -38,6 +38,6 @@ vhost __defaultVhost__ {
}
play{
gop_cache_max_frames 250;
gop_cache_max_frames 2500;
}
}