1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine kbps more testable

This commit is contained in:
winlin 2018-12-23 20:30:12 +08:00
parent 16fa4c588a
commit 4c40370986
9 changed files with 144 additions and 14 deletions

View file

@ -38,7 +38,7 @@ using namespace std;
SrsHttpClient::SrsHttpClient()
{
transport = NULL;
kbps = new SrsKbps();
kbps = new SrsKbps(new SrsWallClock());
parser = NULL;
timeout = SRS_CONSTS_NO_TMMS;
port = 0;