Commit Graph

72 Commits

Author SHA1 Message Date
Martin Piatka
5b3490f769 GUI: Add "LIVE" indicator 2026-01-23 15:10:28 +01:00
Martin Piatka
75388e0412 GUI: ultragrid_window: Remove unused method 2025-10-15 13:39:53 +02:00
Martin Piatka
bd0ac4c87f GUI: recv_report: Rename reset() to avoid shadowing
The parent class QProgressBar already has a reset() method so rename to avoid confusion
2025-10-15 13:39:10 +02:00
Martin Piatka
3dcd9ee31b GUI: recv_loss: Rename reset() to avoid shadowing
The parent class QProgressBar already has a reset() method so rename to avoid confusion
2025-10-15 13:38:55 +02:00
Martin Piatka
74da1631de GUI: Display incoming video & audio formats 2024-09-25 12:44:10 +02:00
Martin Piatka
8bd1caf70b GUI: Add an extra opts for user specified arguments 2024-08-19 14:57:34 +02:00
Martin Pulec
11887dd946 updated NDI copyright
Updated copyright as per current version at:
<https://docs.ndi.video/docs/sdk/licensing>
2024-06-25 15:08:29 +02:00
Martin Piatka
835cbdaec8 GUI: Use move instead of copy from safe mode queue 2023-11-21 13:33:03 +01:00
Martin Piatka
22c579e2a8 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-16 15:48:39 +02:00
Martin Piatka
ed87221071 GUI: vuMeter support varying channel count 2023-10-11 12:39:09 +02:00
Martin Piatka
111ee21dcd GUI: Eliminate a few copies
Get's rid of a few copies that Coverity was complaining about
2023-05-23 12:49:06 +02:00
Martin Piatka
77625ec771 GUI: Add '/' between commit and branch in version string 2023-03-13 15:12:35 +01:00
Martin Piatka
da1e3b0e21 GUI: Add safe mode for querying capabilities
Previously if UltraGrid crashed when probing a module, all remaining
modules would be left unqueried and missing.
This commit introduces a "safe mode", which tries to query each module
independently if querying everything at once fails.
2023-02-28 13:00:42 +01:00
Martin Piatka
3563baa615 GUI: launch preview on ug exit 2023-01-13 12:20:07 +01:00
Martin Piatka
cddcfe9330 GUI: query capabilities line by line 2023-01-13 12:20:06 +01:00
Martin Piatka
bd2c7c9d17 GUI: Don't block on capabilities querying 2023-01-13 12:20:05 +01:00
Martin Piatka
63e7af8fc6 GUI: Rewrite launch manager using lambdas 2023-01-13 12:20:05 +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
cbe619587f GUI: Separate vuMeters for send & receive 2022-11-29 12:53:26 +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
91c1b0818c GUI: Disable recv loss widget when preview is running 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
f952a66cff GUI: parse RR with new format 2022-11-10 14:51:31 +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
ba7c40a4be GUI: Use controlPort class 2022-10-18 13:00:56 +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
7a9a2de03d GUI: Show RTCP Receiver report widget 2022-10-05 15:52:18 +02:00
Martin Piatka
a6f1969c30 GUI: Fix NDI link in about 2022-10-05 15:52:16 +02:00
Martin Piatka
d084b4d74e GUI: pick a random port for control port 2022-08-19 14:38:03 +02:00
Martin Piatka
11df451c58 GUI: vuMeter: Set port on each ug launch 2022-08-18 16:41:51 +02:00
Martin Piatka
2e96274af7 GUI: Don't exit() on close event
Allows all destructors to run on exit. This was probably used to work
around a deadlock, but is perhaps not necessary anymore. There may still
be however a delay of a few seconds because of the vuMeters
connection loop.
2022-08-17 16:10:49 +02:00
Martin Piatka
95d064d41a GUI: Use random key for preview sockets 2022-08-16 10:32:55 +02:00
Martin Piatka
ca620bc6cc GUI: switch to unix socket based preview 2022-06-24 13:40:24 +02:00
Martin Piatka
1c817b003c GUI: Do not treat ug exiting by itself as a crash 2022-06-10 14:33:33 +02:00
Martin Piatka
bb93f54614 GUI: Reduce preview launch timeout 2022-06-10 14:33:33 +02:00
Martin Piatka
6d6762c7e5 GUI: Add DEBUG_ASSERT 2022-06-10 14:33:32 +02:00
Martin Piatka
c987f17986 GUI: Stop ultragrid processes asynchronously
Blocking until the process is finished was not very robust - in some
cases it could cause a deadlock preventing graceful exit. For example,
if the ug process is communicating with GUI through a socket and uses
blocking send - ug will wait for GUI to receive the data and GUI will
block waiting for ug to terminate.

Using this approach also allows to ignore crashes on exit, which are not
really worth reporting.
2022-06-10 14:33:32 +02:00
Martin Piatka
cc3a28d095 GUI: When killing processes leave a message in log
When ug process doesn't respond to termination GUI needs to kill it.
This makes the return code equal to 9 and GUI complains about a crash.
Without a message in the log this could have been confusing.
2022-06-09 12:57:37 +02:00
Martin Piatka
33219c3687 GUI: Open the window as soon as possible
With this change the window should appear immediately. It will still be
unusable and frozen until all capababilities are queried, but should at
least give the user some indication that something is happening.
2022-05-31 14:03:49 +02:00
Martin Pulec
bbcf9e3e87 Added NDI branding 2022-01-12 13:48:00 +01:00
Martin Pulec
dcbfdf3e82 Basic Qt6 compat 2021-04-08 13:57:45 +02:00
Martin Piatka
41775b81d4 GUI: Move the "Advanced" menu item to settings with better name
Probably all of the useful devices are now reported by capabilities, so
it's likely to be not even needed, so to avoid confusion it's moved into
the settings window and given a more descriptive name
2021-03-15 14:59:55 +01:00
Martin Piatka
cf357e516c GUI: Fix inconsistent formatting 2021-03-15 14:59:54 +01:00
Martin Piatka
bc3946af0d GUI: move settings generation into settings class 2021-03-12 13:48:04 +01:00
Martin Piatka
2101b6234f GUI: Remove the need to specify device option for each module
All device configuration is now reported from capabilities in the same
way. Therefore it is now possible to generate the .device settings keys
during runtime for all reported modules
2021-03-12 13:48:03 +01:00
Martin Piatka
029f16fe61 GUI: codec selection using reported codecs 2021-03-09 14:39:42 +01:00
Martin Piatka
ad8c4d4406 GUI: Don't use std::function for callbacks
std::function cannot be compared for equality and this would make it
difficult for disconnecting the callbacks when needed.
2021-03-09 12:55:28 +01:00