From 3993046771d83a5130d0c683e4e1b6a034e52638 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Thu, 2 Feb 2023 22:53:52 +0000 Subject: [PATCH] Remove UDP congestion mitigation --- udpbase.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/udpbase.cpp b/udpbase.cpp index 73bf91b..719848a 100644 --- a/udpbase.cpp +++ b/udpbase.cpp @@ -429,11 +429,12 @@ void udpBase::sendTrackedPacket(QByteArray d) udpMutex.lock(); udp->writeDatagram(d, radioIP, port); - if (congestion > 10) { // Poor quality connection? + + /*if (congestion > 10) { // Poor quality connection? udp->writeDatagram(d, radioIP, port); if (congestion > 20) // Even worse so send again. udp->writeDatagram(d, radioIP, port); - } + } */ if (idleTimer != Q_NULLPTR && idleTimer->isActive()) { idleTimer->start(IDLE_PERIOD); // Reset idle counter if it's running }