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
|
@ -278,12 +278,9 @@ private:
|
|||
*/
|
||||
virtual void close_listeners(SrsListenerType type);
|
||||
/**
|
||||
* resample the server kbps.
|
||||
* if conn is NULL, resample all connections delta, then calc the total kbps.
|
||||
* @param conn, the connection to do resample the kbps. NULL to resample all connections.
|
||||
* @param do_resample, whether resample the server kbps. always false when sample a connection.
|
||||
* resample the server kbs.
|
||||
*/
|
||||
virtual void resample_kbps(SrsConnection* conn, bool do_resample = true);
|
||||
virtual void resample_kbps();
|
||||
// internal only
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue