Skip to content

Commit 062ca8b

Browse files
committed
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.
1 parent 8d08adb commit 062ca8b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

gui/QT/window/ultragrid_window.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -452,16 +452,6 @@ void UltragridWindow::processStateChanged(UgProcessManager::State state){
452452
previewStatus.setText(vals.previewText);
453453
processStatus.setText(vals.ugText);
454454

455-
/* Currently the preview for audio (vuMeter) sends the audio locally and
456-
* the volumes are reported from the recv side of ug. This causes ug to
457-
* report recv loss from the local loopback stream, which could confuse
458-
* users into believing they are receiving something from the network. For
459-
* now we just disable the widget when preview is running. TODO: Remove
460-
* when separate vuMeters for send and recv are implemented.
461-
*/
462-
receiverLoss.setEnabled(state == UgProcessManager::State::UgRunning);
463-
ui.send_bandwidth->setEnabled(state == UgProcessManager::State::UgRunning);
464-
465455
receiverLoss.reset();
466456
rtcpRr.reset();
467457
ui.send_bandwidth->reset();

0 commit comments

Comments
 (0)