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

add connections count to api summaries. 0.9.127

This commit is contained in:
winlin 2014-06-19 18:49:05 +08:00
parent 603b3bcdcc
commit 094d82bd06
6 changed files with 97 additions and 15 deletions

View file

@ -733,7 +733,7 @@ int SrsServer::do_cycle()
if ((i % SRS_SYS_NETWORK_RTMP_SERVER_RESOLUTION_TIMES) == 0) {
srs_info("update network rtmp server info.");
resample_kbps(NULL);
srs_update_rtmp_server(kbps);
srs_update_rtmp_server((int)conns.size(), kbps);
}
#ifdef SRS_AUTO_HTTP_PARSER
if (_srs_config->get_heartbeat_enabled()) {