diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index b7ed2bef2f..84b9902c55 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -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, diff --git a/trunk/conf/srs.conf b/trunk/conf/srs.conf index 5194fc2620..7ed8d9fea2 100644 --- a/trunk/conf/srs.conf +++ b/trunk/conf/srs.conf @@ -38,6 +38,6 @@ vhost __defaultVhost__ { } play{ - gop_cache_max_frames 250; + gop_cache_max_frames 2500; } } diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 22a27c5bfa..5d9c6d8d0b 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -4663,7 +4663,7 @@ int SrsConfig::get_gop_cache_max_frames(string vhost) { SRS_OVERWRITE_BY_ENV_INT("srs.vhost.play.gop_cache_max_frames"); - static int DEFAULT = 250; + static int DEFAULT = 2500; SrsConfDirective* conf = get_vhost(vhost); if (!conf) { diff --git a/trunk/src/core/srs_core_version5.hpp b/trunk/src/core/srs_core_version5.hpp index bb5c81146f..f5dac0e505 100644 --- a/trunk/src/core/srs_core_version5.hpp +++ b/trunk/src/core/srs_core_version5.hpp @@ -9,6 +9,6 @@ #define VERSION_MAJOR 5 #define VERSION_MINOR 0 -#define VERSION_REVISION 93 +#define VERSION_REVISION 94 #endif