1
0
Fork 0
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:
qiang.li 2015-01-08 21:58:10 +08:00
parent 46d716612c
commit 310e49e7f3
3 changed files with 14 additions and 13 deletions

View file

@ -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;
}