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

Merge 4.0release.

This commit is contained in:
winlin 2022-08-24 15:27:56 +08:00
commit 3da0b57121
9 changed files with 160 additions and 34 deletions

View file

@ -400,6 +400,8 @@ private:
// Whether user use full.conf
virtual bool is_full_config();
public:
// Get the server id, generated a random one if not configured.
virtual std::string get_server_id();
// Get the max connections limit of system.
// If exceed the max connection, SRS will disconnect the connection.
// @remark, linux will limit the connections of each process,
@ -431,6 +433,7 @@ public:
virtual bool get_asprocess();
// Whether query the latest available version of SRS.
virtual bool whether_query_latest_version();
virtual srs_utime_t first_wait_for_qlv();
// Whether empty client IP is ok.
virtual bool empty_ip_ok();
// Get the start wait in ms for gracefully quit.