Commit Graph

24 Commits

Author SHA1 Message Date
Martin Piatka
db1712de3d GUI: Template SSRC_container Key type 2024-10-29 14:46:58 +01:00
Martin Piatka
8fb2ca4c93 GUI: launch manager: allow relaunching currentContext from callback 2023-02-28 12:51:07 +01:00
Martin Piatka
3563baa615 GUI: launch preview on ug exit 2023-01-13 12:20:07 +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
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
e97e74957f GUI: recv_loss: Factor report collection into own class 2022-11-10 16:15:30 +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
97cba4d2d3 GUI: Control port class 2022-10-18 12:11:13 +02:00
Martin Piatka
27bd5f9148 GUI: func for reading preview process output 2022-10-18 12:06:03 +02:00
Martin Piatka
cfd083a804 GUI: Add line buffer util class 2022-10-05 15:52:17 +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
25f528fd93 GUI: Fix blocking process termination 2022-06-24 13:40:24 +02:00
Martin Piatka
7ac17735c0 GUI: Fix assert condition 2022-06-20 10:28:09 +02:00
Martin Piatka
060f31aa2f GUI: Fix preview not updating on input change on win32 2022-06-15 12:58:02 +02:00
Martin Piatka
14fdb7b395 GUI: processMngr: verify that process started 2022-06-10 14:33:34 +02:00
Martin Piatka
07c44d499a GUI: Add ASSERT_GUI macro with a QMessageBox 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
41f180bde8 GUI: Video compression quality lineedit now using parsed labels 2021-03-09 14:39:42 +01:00
Martin Piatka
8069e08e4e GUI: Fix build with QT < 5.7 2019-05-21 10:33:46 +02:00
Martin Piatka
917695e4f5 GUI: Rewrite to use ug --capabilities for querying
* use ug --capabilities for querying
* support for webcams on Windows and MacOS
* support for decklink capturers and modes
* query v4l2 through UltraGrid
* don't store state in ui widgets (preparation for saving/loading settings)
* automatic FEC
2019-03-04 14:05:42 +01:00
Martin Piatka
a758158597 GUI: Restructuralize into directories 2019-03-04 13:44:49 +01:00