mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Live: Limit cached max frames by gop_cache_max_frames (#3236)
* add gop_cache_max_frames * Live: Limit cached max frames by gop_cache_max_frames. v5.0.93 Co-authored-by: wanglei <wanglei@unicloud.com> Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
4ada0bc629
commit
ec76512e42
9 changed files with 75 additions and 7 deletions
|
@ -553,6 +553,8 @@ public:
|
|||
// @return true when gop_cache is ok; otherwise, false.
|
||||
// @remark, default true.
|
||||
virtual bool get_gop_cache(std::string vhost);
|
||||
// Get the limit max frames for gop cache.
|
||||
virtual int get_gop_cache_max_frames(std::string vhost);
|
||||
// Whether debug_srs_upnode is enabled of vhost.
|
||||
// debug_srs_upnode is very important feature for tracable log,
|
||||
// but some server, for instance, flussonic donot support it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue