mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor ISrsKbpsDelta
This commit is contained in:
parent
dcebf8a31f
commit
6234905532
13 changed files with 146 additions and 159 deletions
|
@ -67,12 +67,9 @@ protected:
|
|||
public:
|
||||
SrsHttpConn(IConnectionManager* cm, srs_netfd_t fd, ISrsHttpServeMux* m, std::string cip);
|
||||
virtual ~SrsHttpConn();
|
||||
// interface IKbpsDelta
|
||||
// interface ISrsKbpsDelta
|
||||
public:
|
||||
virtual void resample();
|
||||
virtual int64_t get_send_bytes_delta();
|
||||
virtual int64_t get_recv_bytes_delta();
|
||||
virtual void cleanup();
|
||||
virtual void remark(int64_t* in, int64_t* out);
|
||||
protected:
|
||||
virtual srs_error_t do_cycle();
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue