mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
178e40a5fc
commit
96b4918c25
4 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -38,6 +38,6 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
|
||||
play{
|
||||
gop_cache_max_frames 250;
|
||||
gop_cache_max_frames 2500;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue