mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add client num in statistic with traverse every client
This commit is contained in:
parent
46d716612c
commit
310e49e7f3
3 changed files with 14 additions and 13 deletions
|
@ -200,7 +200,8 @@ int SrsRtmpConn::do_cycle()
|
|||
|
||||
ret = service_cycle();
|
||||
http_hooks_on_close();
|
||||
SrsStatistic::instance()->on_close(_srs_context->get_id());
|
||||
SrsStatistic* stat = SrsStatistic::instance();
|
||||
stat->on_close(_srs_context->get_id());
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue