mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine kbps, stub wall clock
This commit is contained in:
parent
4c40370986
commit
c26b475bae
15 changed files with 70 additions and 27 deletions
|
@ -35,6 +35,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_rtmp_stack.hpp>
|
||||
#include <srs_rtmp_handshake.hpp>
|
||||
#include <srs_protocol_stream.hpp>
|
||||
#include <srs_protocol_kbps.hpp>
|
||||
|
||||
using namespace _srs_internal;
|
||||
|
||||
|
@ -127,13 +128,13 @@ public:
|
|||
MockStatistic* add_out(int64_t v);
|
||||
};
|
||||
|
||||
class MockWallClock
|
||||
class MockWallClock : public SrsWallClock
|
||||
{
|
||||
private:
|
||||
int64_t clock;
|
||||
public:
|
||||
MockWallClock();
|
||||
virtual MockWallClock();
|
||||
virtual ~MockWallClock();
|
||||
public:
|
||||
virtual int64_t time_ms();
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue