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

Disable CLS and APM by default. v5.0.101

This commit is contained in:
winlin 2022-12-03 18:35:41 +08:00
parent 8adb1693cc
commit e86e0c8999
20 changed files with 104 additions and 9 deletions

View file

@ -208,10 +208,12 @@ public:
virtual srs_error_t dumps_clients(SrsJsonArray* arr, int start, int count);
// Dumps the hints about SRS server.
void dumps_hints_kv(std::stringstream & ss);
#ifdef SRS_APM
public:
// Dumps the CLS summary.
void dumps_cls_summaries(SrsClsSugar* sugar);
void dumps_cls_streams(SrsClsSugars* sugars);
#endif
private:
virtual SrsStatisticVhost* create_vhost(SrsRequest* req);
virtual SrsStatisticStream* create_stream(SrsStatisticVhost* vhost, SrsRequest* req);