mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 09:34:03 +02:00
Use congestion control for client sends, too.
This commit is contained in:
parent
b6570dc4ee
commit
1b890a9e48
1 changed files with 6 additions and 3 deletions
|
@ -39,9 +39,12 @@ Endpoint::~Endpoint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Endpoint::update() {
|
void Endpoint::update() {
|
||||||
Bitstream& out = _sequencer.startPacket();
|
int packetsToSend = _sequencer.notePacketGroup();
|
||||||
writeUpdateMessage(out);
|
for (int i = 0; i < packetsToSend; i++) {
|
||||||
_sequencer.endPacket();
|
Bitstream& out = _sequencer.startPacket();
|
||||||
|
writeUpdateMessage(out);
|
||||||
|
_sequencer.endPacket();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int Endpoint::parseData(const QByteArray& packet) {
|
int Endpoint::parseData(const QByteArray& packet) {
|
||||||
|
|
Loading…
Reference in a new issue