mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 19:38:22 +02:00
add the periodic rate control packet sending
This commit is contained in:
parent
ffdd54d41f
commit
65fa4c4e6d
1 changed files with 4 additions and 1 deletions
|
@ -144,7 +144,10 @@ void Socket::readPendingDatagrams() {
|
|||
|
||||
void Socket::rateControlSync() {
|
||||
|
||||
// TODO: enumerate our list of connections and ask each of them to send off periodic ACK packet for rate control
|
||||
// enumerate our list of connections and ask each of them to send off periodic ACK packet for rate control
|
||||
for (auto& connection : _connectionsHash) {
|
||||
connection.second->sendACK();
|
||||
}
|
||||
|
||||
if (_synTimer.interval() != _synInterval) {
|
||||
// if the _synTimer interval doesn't match the current _synInterval (changes when the CC factory is changed)
|
||||
|
|
Loading…
Reference in a new issue