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

Change id from int to string for the statistics. 3.0.157

This commit is contained in:
winlin 2021-01-07 16:47:49 +08:00
parent 010878889c
commit fb7c051833
14 changed files with 108 additions and 95 deletions

View file

@ -1477,7 +1477,7 @@ void SrsServer::remove(ISrsConnection* c)
SrsStatistic* stat = SrsStatistic::instance();
stat->kbps_add_delta(conn);
stat->on_disconnect(conn->srs_id());
stat->on_disconnect(srs_int2str(conn->srs_id()));
// use manager to free it async.
conn_manager->remove(c);