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:
parent
16fa4c588a
commit
4c40370986
9 changed files with 144 additions and 14 deletions
|
@ -120,7 +120,7 @@ SrsRtmpConn::SrsRtmpConn(SrsServer* svr, srs_netfd_t c, string cip)
|
|||
bandwidth = new SrsBandwidth();
|
||||
security = new SrsSecurity();
|
||||
duration = 0;
|
||||
kbps = new SrsKbps();
|
||||
kbps = new SrsKbps(new SrsWallClock());
|
||||
kbps->set_io(skt, skt);
|
||||
wakable = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue