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

@ -43,6 +43,7 @@ class SrsRtmpClient;
class SrsMessage;
class SrsMessageQueue;
class ISrsProtocolReaderWriter;
class SrsKbps;
/**
* the state of edge, auto machine
@ -83,6 +84,7 @@ private:
SrsThread* pthread;
st_netfd_t stfd;
ISrsProtocolReaderWriter* io;
SrsKbps* kbps;
SrsRtmpClient* client;
int origin_index;
public:
@ -116,6 +118,7 @@ private:
SrsThread* pthread;
st_netfd_t stfd;
ISrsProtocolReaderWriter* io;
SrsKbps* kbps;
SrsRtmpClient* client;
int origin_index;
/**