mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine kbps, stub wall clock
This commit is contained in:
parent
4c40370986
commit
c26b475bae
15 changed files with 70 additions and 27 deletions
|
@ -34,6 +34,8 @@
|
|||
#include <srs_app_reload.hpp>
|
||||
#include <srs_service_conn.hpp>
|
||||
|
||||
class SrsWallClock;
|
||||
|
||||
/**
|
||||
* the basic connection of SRS,
|
||||
* all connections accept from listener must extends from this base class,
|
||||
|
@ -71,6 +73,7 @@ protected:
|
|||
* the SrsStatistic will use it indirectly to statistic the bytes delta of current connection.
|
||||
*/
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
/**
|
||||
* the create time in milliseconds.
|
||||
* for current connection to log self create time and calculate the living time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue