mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine framework to calc the kbps
This commit is contained in:
parent
3f33dffdb3
commit
9006194cd7
21 changed files with 153 additions and 131 deletions
|
@ -46,6 +46,7 @@ class SrsSocket;
|
|||
class SrsHttpHooks;
|
||||
#endif
|
||||
class SrsBandwidth;
|
||||
class SrsKbps;
|
||||
|
||||
/**
|
||||
* the client provides the main logic control for RTMP clients.
|
||||
|
@ -63,6 +64,7 @@ private:
|
|||
// for live play duration, for instance, rtmpdump to record.
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/47
|
||||
int64_t duration;
|
||||
SrsKbps* kbps;
|
||||
public:
|
||||
SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd);
|
||||
virtual ~SrsRtmpConn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue