mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge pull request #282 from tufang14/develop
add client num in statistic with traverse every client for #227
This commit is contained in:
commit
b3225100e7
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