mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #316, http api provides stream/vhost/srs/server bytes, codec and count. 2.0.136
This commit is contained in:
parent
2e9f2753c9
commit
5143e3a58d
17 changed files with 191 additions and 57 deletions
|
@ -83,8 +83,6 @@ private:
|
|||
public:
|
||||
SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd);
|
||||
virtual ~SrsRtmpConn();
|
||||
public:
|
||||
virtual void kbps_resample();
|
||||
protected:
|
||||
virtual int do_cycle();
|
||||
// interface ISrsReloadHandler
|
||||
|
@ -94,8 +92,10 @@ public:
|
|||
virtual int on_reload_vhost_realtime(std::string vhost);
|
||||
// interface IKbpsDelta
|
||||
public:
|
||||
virtual void resample();
|
||||
virtual int64_t get_send_bytes_delta();
|
||||
virtual int64_t get_recv_bytes_delta();
|
||||
virtual void cleanup();
|
||||
private:
|
||||
// when valid and connected to vhost/app, service the client.
|
||||
virtual int service_cycle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue