Commit Graph

67 Commits

Author SHA1 Message Date
Martin Pulec
bc5866afa9 Control socked: fixed socklen 2019-07-01 08:43:59 +02:00
Martin Pulec
8242627dcc Control socket: respect IP version selection
If user requests either -4 or -6 from command-line, the same value is
used for the control socket.
2019-07-01 08:43:59 +02:00
Martin Pulec
553f73f7a6 Control socket: use IPv4 if IPv6 not available 2019-06-17 11:07:20 +02:00
Martin Pulec
af700a8c8e Another small fixes 2018-08-28 10:08:56 +02:00
Martin Pulec
5567493bc6 Changed prototype of is_addr_loopback() 2018-08-24 09:13:06 +02:00
Martin Pulec
a7830d3bc2 Fixed few warnings 2018-07-24 09:38:47 +02:00
Martin Pulec
1e1017ec1a Control socket: make remote connections nonblock.
Use non-blocking socket for network connections since all sockets are
written sequentially. When one gets stuck it blocks the whole stack
(can be a case when a lot of data is produced - eg. statistics).
2018-04-24 10:51:49 +02:00
Martin Pulec
d30fb765a8 Control: report stats for audio 2018-04-24 09:59:32 +02:00
Martin Pulec
c65a90d7c5 Keyboard control: show port of control socket 2017-06-21 10:12:14 +02:00
Martin Pulec
4cd91b5387 Control socket: better error check 2017-03-17 12:21:55 +01:00
Martin Pulec
feae858c65 Validate optional commandline parameters 2017-02-23 16:30:43 +01:00
Martin Pulec
1c02c5e8b0 New way of documenting additional params (--param)
All parameters can now be listed with '--params help'.
2017-02-20 11:27:30 +01:00
Martin Pulec
c16a74d135 MSW: compat
Cleared mainly harmless warnings.
2017-02-15 10:19:12 +01:00
Martin Pulec
8ebc74eaf9 Allow set AV delay from control socket 2017-01-25 11:02:55 +01:00
Martin Pulec
116f99fd4d Main: use Jumbos when sending to ourselves
Use Jumbos when sending and receirver run in one process and communicate
through loopback.
2016-10-12 16:41:18 +02:00
Martin Pulec
f5238d8b42 Modules: added name field and allow indexing with
* Modules can now be addressed by their (optional) name identifier
  instead of numerical indices.
* This applies namely to port indexing (reflector) - ports can be now
  indexed by <host>:<port> identifiers. If <host> is a colon-separated
  IPv6 address, it is enclosed in pair of square brackets.
2016-10-10 20:44:37 +02:00
Martin Pulec
5197a11c85 Video postprocess: moved from decoder to display
This allows postprocess replacement without reconfiguring the whole
decoder (under smoe circumstances).
2016-10-10 20:44:37 +02:00
Martin Pulec
226a69de10 Fixed dynamic audio port reconfiguration 2016-07-26 15:06:11 +02:00
Martin Pulec
5e81c513a6 Control socket: communicate on loopback only
From now, communicates on loopback addresses only by default (security).
2016-06-30 11:23:14 +02:00
Martin Pulec
9153ed8e60 Control socket: extended port setting
Allow to configure also src port for the sender and ports for audio.
2016-06-29 10:37:00 +02:00
Martin Pulec
da23b458e5 Control socket: send event exit on close 2016-06-28 17:33:24 +02:00
Martin Pulec
08be232a19 Control socket: report when video prop change 2016-06-28 17:33:24 +02:00
Martin Pulec
892883df02 Fixed some Coverity bugs 2016-06-28 17:33:24 +02:00
Martin Pulec
5eafdad846 Small fix: wrong ret value 2016-04-26 16:06:57 +02:00
Martin Pulec
cd5b837c76 Control socket: fixed FEC 2016-03-07 11:32:33 +01:00
Martin Pulec
3eca4d8203 Fixed postprocess on-fly change 2016-02-25 15:36:27 +01:00
Martin Pulec
829750e5ad Control socket: accept exit command 2016-02-21 14:57:16 +01:00
Martin Pulec
93e1636694 Control socket: small fixes
+ be more verbose about errors
2016-01-26 11:16:31 +01:00
Martin Pulec
226b48ef00 Control socket: added "mute" command 2015-12-21 13:34:35 +01:00
Martin Pulec
7b5be8869a Fixed previous commit 2015-12-02 17:08:04 +01:00
Martin Pulec
e32b93cb29 Support for recv audio volume to control socket 2015-12-02 15:39:46 +01:00
Martin Pulec
83c9421b4a Fixed some Coverity issues 2015-10-19 11:31:10 +02:00
Martin Pulec
2c28c13721 Control: allow SSRC change of the RTP stream 2015-09-26 12:29:57 +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
877868becc Control socket fix 2015-07-16 13:09:18 +02:00
Martin Pulec
3683438e6a Use pipe supplement over loopback
There isn't pipe() command on MSW, so use this version to supplement it.
2015-07-13 10:06:58 +02:00
Martin Pulec
a70ad76463 Control socked: fixed deletion from linked-list 2015-06-26 13:19:05 +02:00
Martin Pulec
37c5641b9f Control socket: added option to toggle statistic 2015-05-20 14:02:26 +02:00
Martin Pulec
c558a44c30 Updated statistics for distributor
+ removed unused code
2015-05-18 18:45:12 +02:00
Martin Pulec
535670979b Control sockets: statistics per frame
Initial implementation (currently consumer only)
2015-05-13 13:48:01 +02:00
Martin Pulec
d98db011df Do not start control socket if not requested
+ do not report stats if not requested
2015-04-08 15:34:06 +02:00
Martin Pulec
fd89e5697a Small improvements 2015-03-27 16:04:50 +01:00
Martin Pulec
5ba4fa05ae Basic support for Raspberry Pi 2015-03-26 14:42:16 +01:00
Martin Pulec
67818709c2 Control socket: close on error 2015-03-23 10:58:06 +01:00
Martin Pulec
68bf4383ae MSW: fixed some other close->closesocket occurencies 2015-03-13 16:29:35 +01:00
Martin Pulec
eb064c7a81 Collect and report more statistics
Statistics are collected and reported through control socket where it
can be subscribed and further processed (eg. by CoUniverse).
2015-03-03 19:04:38 +01:00
Martin Pulec
1c2d4b3e7c Control socket: better support for audio
TODO: figure out where to start control_start().
2015-01-26 20:33:45 +01:00
Martin Pulec
2bd86bddf6 Video display: pass parent module pointer 2014-11-03 18:21:56 +01:00
Martin Pulec
00ce812db3 Couple of small fixes (mainly leaks) 2014-10-08 17:39:04 +02:00
Martin Pulec
d8886e7c81 Fixed another Coverity bugs 2014-09-12 16:07:43 +02:00