mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine server, add comments
This commit is contained in:
parent
88dc1523d8
commit
654c3c6d71
5 changed files with 130 additions and 6 deletions
|
@ -857,6 +857,7 @@ void SrsServer::resample_kbps(SrsConnection* conn, bool do_resample)
|
|||
|
||||
kbps->add_delta(conn);
|
||||
|
||||
// resample for server.
|
||||
if (do_resample) {
|
||||
kbps->sample();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue