1
0
Fork 0
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:
winlin 2014-05-12 17:27:50 +08:00
parent 3f33dffdb3
commit 9006194cd7
21 changed files with 153 additions and 131 deletions

View file

@ -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();