Commit Graph

38 Commits

Author SHA1 Message Date
Martin Pulec
06bb519cb3 messaging: include-what-you-use 2025-03-05 16:15:51 +01:00
Martin Pulec
4a085c6c6c vrxtx/rtsp: allow compressed stream passthough
If the input is already compressed, try to pass it further. Initialize
the compression just if receiving uncompressed data.

This is implemented in the same way as it already is in vrxtx/sdp.

refers to GH-433
2025-03-05 16:09:05 +01:00
Martin Piatka
8b7dcb82d0 module: childs -> children 2024-05-30 16:05:10 +02:00
Martin Pulec
89ac81b0bd hd-rum-translator: fixed messages not delivered
The state_root::new_message is now handled in host.cpp, which processed
all messages, even those intended for reflector.

As a solution, the new_message callback of state_root processes only
messages for it and puts remaining messages back to the pool with the
new function module_store_message() that doesn't call the new_message
callback.
2023-04-28 12:18:52 +02:00
Martin Pulec
1b3b27eb7c Updated copyright dates for modified files 2021-11-08 15:43:14 +01:00
Martin Piatka
eab94c12c0 Remove some unused includes
Removes some unused includes reported by include-what-you-use
2021-06-08 15:22:25 +02:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
0666ec2e3d Messaging: option to wait indefinitely for response
+ more documentation
+ new root message struct
2019-11-01 15:17:20 +01:00
Martin Pulec
2d5b594950 Messaging: moved config includes from hdr to src 2019-10-29 21:55:39 +01:00
Ben Roeder
e4111c76b8 fixes for typos in messages 2018-09-11 12:51:21 +01:00
Martin Pulec
701f572641 Message queue: sepearate lock for messages
Trying to fix a deadlock in check_message() - possibly the lock is
already hold by another thread (trying to destroy module).
2018-04-24 09:59:32 +02:00
Martin Pulec
28390a9dda Modules: added new_message callback
The callback (if set) is called when module receives a new message -
this allows it trigger some internal action in order to process it
in real time (not only when eg. frame is processed).
2017-06-21 10:12:14 +02:00
Martin Pulec
246c76c137 Messaging: fixed a leak 2017-06-07 15:43:15 +02:00
Martin Pulec
45be2f7dfc Keyboard control: show volume 2016-06-29 10:37:00 +02:00
Martin Pulec
370998b34b Fixed some invalid freeing 2016-05-02 11:39:33 +02:00
Martin Pulec
2cc6aab0e2 Added possibility to send message synchronously
+ in capabilities list, given bitrate is computed according to the
  detected capture format (provided that '-t' argument is given)
2015-08-25 17:05:23 +02:00
Martin Pulec
ea792ce218 Messaging: save only up to 100 msgs 2015-07-10 16:42:26 +02:00
Martin Pulec
9420e547a3 Fixed crash 2015-05-04 17:26:33 +02:00
Martin Pulec
0384f8272a Fixed some leaks 2015-03-31 16:43:45 +02:00
Martin Pulec
df1c80acea Get rid of synchronous messaging entirely.
Removed also from jpeg, libavcodec.
2015-01-30 15:12:38 +01:00
Martin Pulec
37d311cae9 Indicate when message receiver does not exist 2015-01-05 14:50:15 +01:00
Martin Pulec
92100f3304 Merge branch 'proxy-display' 2014-10-10 14:28:11 +02:00
Martin Pulec
00ce812db3 Couple of small fixes (mainly leaks) 2014-10-08 17:39:04 +02:00
Martin Pulec
c2072d7c34 HACK: Hd-rum-translator receive messages
Currently supported:
delete-port <index>
create-port <host> <tx-port> <compression>
2014-09-30 00:10:00 +02:00
Martin Pulec
06d89598fa Fixed some Coverity reported errors
These Coverity errors should be fixed (mostly classified as High
Impact Outstanding by Coverity):
53922, 53923, 53935, 53938, 53945, 53963, 53974, 53976, 53978, 53979,
53980, 53981, 53982, 53988, 53990, 53991, 53993, 53994, 53995, 53998,
54000, 54002, 54004, 54008, 54010, 54013, 54016, 54018, 54020, 54022,
54024, 54025, 54027, 54028, 54030, 54031, 54032, 54033, 54034, 54035,
54036, 54038, 54039, 54041, 54043, 54047, 54048, 54050, 54053, 54054,
54055, 54056, 54062, 54064, 54065, 54067, 54071, 54072, 54074, 54075,
54076, 54081, 54087, 54088, 54089, 54091, 54093, 54096, 54097, 54103,
54104, 54106, 54109, 54111, 54112, 54114, 54117, 54119, 54120, 54121,
54125, 54126, 54129, 54130, 54132, 54133, 54136, 54137, 54140, 54145,
54146, 54149, 54150, 54151, 54153, 54154, 54156, 54157
2014-09-08 15:29:02 +02:00
Martin Pulec
0107917c25 Use -Werror in debug mode for most warnings
+ silence some warnings
2014-08-18 12:37:19 +02:00
Martin Pulec
dc019514f1 Messaging: small fix 2014-03-05 15:41:49 +01:00
Martin Pulec
b88dfa51d7 Changed semantics of message passing
Undelivered messages are no more rejected. They are saved to the nearest
node and delivered after recipient is created.

+ modules returned from get_module() should not be unlocked any more
2014-02-21 13:32:05 +01:00
Martin Pulec
183e7d5cdb Silenced some compiler warnings 2013-07-10 16:00:32 +02:00
Martin Pulec
29820960df Reflector: report received bytes
+ some small improvements
2013-06-26 10:50:25 +02:00
Martin Pulec
57b52c9f4d Control: collecting and sending statistics 2013-06-21 11:12:47 +02:00
Martin Pulec
9bc8fab205 hd-rum-transcode: added control 2013-06-05 16:19:40 +02:00
Martin Pulec
c4b9916723 Rewrite messaging to use module infrastructure 2013-05-28 17:39:41 +02:00
Martin Pulec
c261060d03 Remote control: collect some statistics 2013-05-28 15:48:49 +02:00
Martin Pulec
b311366ed1 Allow remote control of compression 2013-05-28 15:48:49 +02:00
Martin Pulec
9acd1d86bc Enable runtime reconfiguration of FEC 2013-05-28 15:48:49 +02:00
Martin Pulec
4307e0579f Added control thread 2013-05-28 15:48:49 +02:00
Martin Pulec
f082bbf349 allow change of receiver on runtime 2013-05-28 15:48:48 +02:00