mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #3108: STAT: Update stat for SRT. v5.0.46
This commit is contained in:
parent
4e3ea99ccd
commit
6508a082e9
4 changed files with 4 additions and 3 deletions
|
@ -1291,7 +1291,7 @@ void SrsServer::resample_kbps()
|
|||
// collect delta from all clients.
|
||||
for (int i = 0; i < (int)conn_manager->size(); i++) {
|
||||
ISrsResource* c = conn_manager->at(i);
|
||||
ISrsKbpsDelta* conn = dynamic_cast<ISrsKbpsDelta*>(conn_manager->at(i));
|
||||
ISrsKbpsDelta* conn = dynamic_cast<ISrsKbpsDelta*>(c);
|
||||
|
||||
// add delta of connection to server kbps.,
|
||||
// for next sample() of server kbps can get the stat.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue