mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the kbps of server.
This commit is contained in:
parent
fbbe46d272
commit
8bf60895a9
5 changed files with 27 additions and 34 deletions
|
@ -92,6 +92,7 @@ public:
|
|||
virtual void on_thread_stop();
|
||||
public:
|
||||
/**
|
||||
* reset and start sample of bytes.
|
||||
* when server to get the kbps of connection,
|
||||
* it cannot wait the connection terminated then get the kbps,
|
||||
* it must sample the kbps every some interval, for instance, 9s to sample all connections kbps,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue