1
0
Fork 0
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:
winlin 2022-08-27 18:54:02 +08:00
parent 4e3ea99ccd
commit 6508a082e9
4 changed files with 4 additions and 3 deletions

View file

@ -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.