mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor: Extract SrsNetworkKbps from SrsKbps. v5.0.53
This commit is contained in:
parent
937605b18c
commit
2c259bd95b
20 changed files with 949 additions and 662 deletions
|
@ -38,7 +38,6 @@ public:
|
|||
public:
|
||||
// The vhost total kbps.
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
public:
|
||||
SrsStatisticVhost();
|
||||
virtual ~SrsStatisticVhost();
|
||||
|
@ -61,7 +60,6 @@ public:
|
|||
public:
|
||||
// The stream total kbps.
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
// The fps of stream.
|
||||
SrsPps* frames;
|
||||
public:
|
||||
|
@ -110,7 +108,6 @@ public:
|
|||
public:
|
||||
// The stream total kbps.
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
public:
|
||||
SrsStatisticClient();
|
||||
virtual ~SrsStatisticClient();
|
||||
|
@ -141,7 +138,6 @@ private:
|
|||
std::map<std::string, SrsStatisticClient*> clients;
|
||||
// The server total kbps.
|
||||
SrsKbps* kbps;
|
||||
SrsWallClock* clk;
|
||||
private:
|
||||
SrsStatistic();
|
||||
virtual ~SrsStatistic();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue