mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs bytes and kbps to api summaries. 0.9.126
This commit is contained in:
parent
8fabd5d987
commit
6ee2ba049b
17 changed files with 325 additions and 36 deletions
|
@ -196,6 +196,12 @@ private:
|
|||
public:
|
||||
SrsHttpApi(SrsServer* srs_server, st_netfd_t client_stfd, SrsHttpHandler* _handler);
|
||||
virtual ~SrsHttpApi();
|
||||
public:
|
||||
virtual void kbps_resample();
|
||||
// interface IKbpsDelta
|
||||
public:
|
||||
virtual int64_t get_send_bytes_delta();
|
||||
virtual int64_t get_recv_bytes_delta();
|
||||
protected:
|
||||
virtual int do_cycle();
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue