Commit Graph

227 Commits

Author SHA1 Message Date
Martin Piatka
87279e0ea1 GUI: LineEdit: Fix cursor jumping to the end when editing
The issue was that editing the text triggers the change of the option,
which in turn triggers updateUiState which sets the content of the
LineEdit to the changed option causing the cursor to jump to the end.

As a workaround only set the LineEdit contet when it's not focused.
2023-11-10 11:53:22 +01:00
Martin Piatka
b7e6f78cec GUI: Don't hide hw accel checkbox on non-linux platforms
Since there are now hw accels available on other plaforms (videotoolbox
on mac and maybe vulkan decode on Windows) it no longer makes sense to
hide the option on those platforms.
2023-10-20 10:04:57 +02:00
Martin Piatka
be415f5cb4 GUI: Fix specific display device selection 2023-03-21 12:39:39 +01:00
Martin Piatka
4b0664f967 GUI: Fix crash when refreshing capabs while codec settings are open 2023-01-17 13:21:44 +01:00
Martin Piatka
5ac4307b87 GUI: Fix codec settings refresh 2023-01-17 13:21:37 +01:00
Martin Piatka
9776bf1c56 GUI: vuMeter: parsing error handling 2022-11-29 12:53:27 +01:00
Martin Piatka
976778eaef GUI: Fix vuMeter layout when preview disabled 2022-11-29 12:53:27 +01:00
Martin Piatka
062ca8bcff 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.
2022-11-29 12:53:27 +01:00
Martin Piatka
8d08adb4d7 GUI: Add audio stats filter to launch params
In preview add also the 'discard' filter, so that the audio doesn't get
sent to the receiving side (same behaviour as video).
2022-11-29 12:53:26 +01:00
Martin Piatka
1abf9fbb45 GUI: vuMeter: Copy first channel volume to second if mono 2022-11-29 12:53:26 +01:00
Martin Piatka
cbe619587f GUI: Separate vuMeters for send & receive 2022-11-29 12:53:26 +01:00
Martin Piatka
ff9736a726 GUI: vuMeter: parsing with configurable prefix 2022-11-29 12:53:25 +01:00
Martin Piatka
0a3abf8212 GUI: bandwidth: add tooltip 2022-11-23 13:37:27 +01:00
Martin Piatka
9205f2a5f8 GUI: bandwidth: report in bits as opposed to bytes 2022-11-23 13:37:27 +01:00
Martin Piatka
28ff3489b2 GUI: bandwidth: disable when preview is running 2022-11-23 13:37:26 +01:00
Martin Piatka
44cbec0087 GUI: Add send bandwidth widget 2022-11-23 13:37:26 +01:00
Martin Piatka
c3eff4fb9f GUI: ssrc_container: Zero initialize the new item
The remaining fields were set after the push_back(), but coverity
doesn't like that.
2022-11-21 13:26:40 +01:00
Martin Piatka
da228eea58 GUI: recv_loss: Guard against divide by zero 2022-11-21 13:26:40 +01:00
Martin Piatka
3c11b40eb8 GUI: rtcp RR widget: remove trailing '\n' in tooltip 2022-11-21 13:26:39 +01:00
Martin Piatka
930b5097ac GUI: recv widgets: Force Fusion style on win & mac
Native mac progressbars don't display the text, while windows style
displays it next to the bar in an ugly way.
2022-11-10 16:15:31 +01:00
Martin Piatka
91c1b0818c GUI: Disable recv loss widget when preview is running 2022-11-10 16:15:31 +01:00
Martin Piatka
4335246369 GUI: rtcp RR: support multiple streams 2022-11-10 16:15:31 +01:00
Martin Piatka
cd6b302bea GUI: rtcp RR widget: move parsing inside the class 2022-11-10 16:15:31 +01:00
Martin Piatka
e97e74957f GUI: recv_loss: Factor report collection into own class 2022-11-10 16:15:30 +01:00
Martin Piatka
f952a66cff GUI: parse RR with new format 2022-11-10 14:51:31 +01:00
Martin Piatka
08e8f36ec1 GUI: recv loss: add tooltip 2022-11-10 14:51:30 +01:00
Martin Piatka
f3cfce7fd7 GUI: recv_loss: support multiple ssrcs 2022-11-10 14:51:30 +01:00
Martin Piatka
477413c13f GUI: Add recv loss indicator 2022-11-10 14:51:29 +01:00
Martin Piatka
3636c3e64c GUI: Move receiver report to preview bar 2022-11-10 12:04:43 +01:00
Martin Piatka
8ceb36c1e7 GUI: Add information bars under preview 2022-11-10 12:04:43 +01:00
Martin Piatka
5ce1cae445 GUI: Fix alignment for preview labels 2022-11-10 12:04:42 +01:00
Martin Piatka
94289f27f6 GUI: Hide only previewWidget when disabling preview 2022-11-10 12:04:42 +01:00
Martin Piatka
f5c69aa486 GUI: control socket: reset socket before new connection 2022-10-18 13:15:12 +02:00
Martin Piatka
1378bad9ff GUI: Remove now unused random port helper 2022-10-18 13:00:57 +02:00
Martin Piatka
894dbdcc65 GUI: Use "0" for a random port 2022-10-18 13:00:57 +02:00
Martin Piatka
ba7c40a4be GUI: Use controlPort class 2022-10-18 13:00:56 +02:00
Martin Piatka
6dea418cb1 GUI: vuMeter: Use the controlPort class for ug communication
Should make the meter much quikcer to start reporiting volumes after
start
2022-10-18 13:00:56 +02:00
Martin Piatka
97cba4d2d3 GUI: Control port class 2022-10-18 12:11:13 +02:00
Martin Piatka
85019bbec0 GUI: Factor log line processing into function 2022-10-18 12:06:04 +02:00
Martin Piatka
27bd5f9148 GUI: func for reading preview process output 2022-10-18 12:06:03 +02:00
Martin Piatka
e1dcefc9d2 GUI: recv_report: Older QT compat 2022-10-05 16:10:52 +02:00
Martin Piatka
7a9a2de03d GUI: Show RTCP Receiver report widget 2022-10-05 15:52:18 +02:00
Martin Piatka
cfd083a804 GUI: Add line buffer util class 2022-10-05 15:52:17 +02:00
Martin Piatka
768032958c GUI: recv_report: Add timeout 2022-10-05 15:52:17 +02:00
Martin Piatka
750df41a64 GUI: Add RTCP receiver report widget 2022-10-05 15:52:17 +02:00
Martin Piatka
a6f1969c30 GUI: Fix NDI link in about 2022-10-05 15:52:16 +02:00
Martin Piatka
1b9629fbe4 GUI: Use :convert for V4L2
The :RGB option was removed in e9c255d0e
2022-09-29 16:43:39 +02:00
Martin Piatka
0a5657685c GUI: Use get_temp_dir() for preview 2022-09-13 13:54:24 +02:00
Martin Piatka
415be28119 GUI: Get random control socket port by binding to 0
This lowers the chance of getting an already used port. This is still
not perfect as the port could still be taken before ug starts, but
should be good enough until we invert the client-server relationship
between gui and ug for control-port.
2022-08-22 15:30:07 +02:00
Martin Piatka
d084b4d74e GUI: pick a random port for control port 2022-08-19 14:38:03 +02:00