mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Clock: Update stat. Insert timer to execute first
This commit is contained in:
parent
f987198af0
commit
d8563398b2
10 changed files with 112 additions and 65 deletions
|
@ -1084,6 +1084,8 @@ private:
|
|||
// Get the stats directive.
|
||||
virtual SrsConfDirective* get_stats();
|
||||
public:
|
||||
// Whether enabled stats.
|
||||
virtual bool get_stats_enabled();
|
||||
// Get the network device index, used to retrieve the ip of device,
|
||||
// For heartbeat to report to server, or to get the local ip.
|
||||
// For example, 0 means the eth0 maybe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue