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,7 @@
|
|||
#include <srs_rtmp_stack.hpp>
|
||||
|
||||
class SrsKbps;
|
||||
class SrsWallClock;
|
||||
class SrsRequest;
|
||||
class SrsConnection;
|
||||
class SrsJsonObject;
|
||||
|
@ -51,6 +52,7 @@ public:
|
|||
* vhost total kbps.
|
||||
*/
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
public:
|
||||
SrsStatisticVhost();
|
||||
virtual ~SrsStatisticVhost();
|
||||
|
@ -75,6 +77,7 @@ public:
|
|||
* stream total kbps.
|
||||
*/
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
public:
|
||||
bool has_video;
|
||||
SrsVideoCodecId vcodec;
|
||||
|
@ -152,6 +155,7 @@ private:
|
|||
std::map<int, SrsStatisticClient*> clients;
|
||||
// server total kbps.
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
private:
|
||||
SrsStatistic();
|
||||
virtual ~SrsStatistic();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue