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

refine the kbps of server.

This commit is contained in:
winlin 2015-03-08 12:55:40 +08:00
parent fbbe46d272
commit 8bf60895a9
5 changed files with 27 additions and 34 deletions

View file

@ -92,6 +92,7 @@ public:
virtual void on_thread_stop();
public:
/**
* reset and start sample of bytes.
* when server to get the kbps of connection,
* it cannot wait the connection terminated then get the kbps,
* it must sample the kbps every some interval, for instance, 9s to sample all connections kbps,