From 062ca8bcffeffe5c1532dab85469ea1d26f1900e Mon Sep 17 00:00:00 2001 From: Martin Piatka Date: Mon, 28 Nov 2022 13:01:21 +0100 Subject: [PATCH] GUI: No longer disable stats widgets in preview Since there are now separate audio vuMeters, nothing gets sent via loopback to the receiving side anymore, so there is no need to disable those. --- gui/QT/window/ultragrid_window.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gui/QT/window/ultragrid_window.cpp b/gui/QT/window/ultragrid_window.cpp index 63f316d10..0f454c7f9 100644 --- a/gui/QT/window/ultragrid_window.cpp +++ b/gui/QT/window/ultragrid_window.cpp @@ -452,16 +452,6 @@ void UltragridWindow::processStateChanged(UgProcessManager::State state){ previewStatus.setText(vals.previewText); processStatus.setText(vals.ugText); - /* Currently the preview for audio (vuMeter) sends the audio locally and - * the volumes are reported from the recv side of ug. This causes ug to - * report recv loss from the local loopback stream, which could confuse - * users into believing they are receiving something from the network. For - * now we just disable the widget when preview is running. TODO: Remove - * when separate vuMeters for send and recv are implemented. - */ - receiverLoss.setEnabled(state == UgProcessManager::State::UgRunning); - ui.send_bandwidth->setEnabled(state == UgProcessManager::State::UgRunning); - receiverLoss.reset(); rtcpRr.reset(); ui.send_bandwidth->reset();