Commit Graph

143 Commits

Author SHA1 Message Date
Martin Pulec
97301dd47f Main: added option --protocol
shortcut for "--video-protocol <proto> --audio-protocol <proto>"
2018-09-19 13:05:49 +02:00
Martin Pulec
e6e3eb6cc0 Main: split help and fullhelp 2018-09-18 22:01:29 +02:00
Martin Pulec
fceb332703 Main: sort options alphabetically 2018-09-18 14:35:52 +02:00
Martin Pulec
e0e315a6fa Audio codec: check validity of parameters 2018-09-18 11:28:00 +02:00
Martin Piatka
1e2f38c97c Rewrite video_frame callbacks to be set by decoders 2018-09-12 23:29:08 +02:00
Martin Pulec
5232006dd7 Main: check value of audio_capture_channels 2018-09-11 16:36:48 +02:00
Martin Pulec
e00b7b9472 RTP UDP: Resolve rather to IPv4-mapped addrs
This will cause that unless user requests explicitly IPv4, IPv6 socket
accepting also IPv4 traffic will be opened. This fixes potential issues
when host specifies IPv4 address (or hostname resolvable to IPv4), thus
opens IPv4 socket. But the other peer uses IPv6 address of the host
which causes that the host doesn't receive anything.
2018-09-11 16:36:48 +02:00
Martin Pulec
b831fd8bcf Video RXTX: do not report error for 'help' param 2018-08-22 11:23:09 +02:00
Martin Pulec
e7a40ce4ae Reflect RTP API change 2018-08-15 13:29:51 +02:00
Martin Pulec
a7830d3bc2 Fixed few warnings 2018-07-24 09:38:47 +02:00
Martin Pulec
d5a4f1cd0b Fail if multiple receivers given 2018-01-08 15:21:38 +01:00
Martin Pulec
6c68b2efb4 Changed some messages 2017-10-17 10:45:04 +02:00
Martin Pulec
b0895ed71c Main: fixed parsing of --audio-capture-format
sample_rate was incorrectly parsed.
2017-10-17 10:44:01 +02:00
Martin Piatka
e80ebe36ce Fix typo in warning message 2017-10-06 11:51:55 +02:00
Martin Pulec
41c70dc9ae Main: print protocols with --audio-protocol help 2017-06-21 10:12:14 +02:00
Martin Pulec
cca00cfdb3 Main: always start control socket 2017-06-21 10:12:14 +02:00
Martin Pulec
bf7fb05184 Allow custom mainloop
Intended mainly for modules that need to run or be run from mainloop
(eg. Syphon client).
2017-06-21 10:12:14 +02:00
Martin Pulec
ea3ad52755 Fixed GIT revision
Now print current commit hash in version string.

+ print configuration in -v option
2017-05-19 15:48:39 +02:00
Martin Pulec
e299219167 Export: allow runtime enable/disable recording 2017-05-11 13:53:26 +02:00
Martin Pulec
29fec0d9c9 Export: created umbrella for audio and video 2017-05-11 13:53:26 +02:00
Martin Pulec
a541bb7b30 Hot-fixed when no cmdline argument given 2017-04-27 15:02:22 +02:00
Martin Pulec
bba5867e41 common_preinit: use verbosity level from cmdline 2017-04-03 11:30:39 +02:00
Martin Pulec
2894c313a2 Better input value check for bitrates and MTU
* better check values' boundries
* for MTU and traffic shapper also check if there are reasonable values
  (eg. for the cases when they are interchanged by mistake)
2017-03-15 16:45:47 +01:00
Martin Pulec
a5d05d5a6c Fixed Jumbo sending
Do not errorneously use Jumbo frames - there was check if receiver is a
loopback address before assigning it (using default value ::1).
2017-03-13 18:11:27 +01:00
Martin Pulec
f47597dd89 Fixed bugs reported by Coverity 2017-03-03 18:07:18 +01:00
Martin Pulec
00bb10104d Do not use colon as a delimiter for --param 2017-02-24 11:57:22 +01:00
Martin Pulec
feae858c65 Validate optional commandline parameters 2017-02-23 16:30:43 +01:00
Martin Pulec
1c18c5cdd2 Updated usage a bit 2017-02-21 16:29:46 +01:00
Martin Pulec
18154d3413 Moved some commandline parameters to --params
"ldgm-device" and "disable-keyboard-control" commandline parameters were
moved to --params. "window-title" can be as both, however as a
commandline argument it will be removed in future.
2017-02-20 11:27:30 +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
cdf865394f Transmit: use bitrate instead of packet rate
Packet rate is now computed in transmit.cpp
2017-01-24 16:26:01 +01:00
Martin Pulec
5951cda58e Added --audio-protocol and --video-protocol params
Added audio and video protocol parameters instead of original --protocol
(for video) and ad hoc parameters for audio.
2017-01-18 11:13:24 +01:00
Martin Pulec
bf30146042 Main: small usage correction (capture filter) 2016-12-21 15:25:17 +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
8ee29f095f Removed postprocess code from decoder 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
2d79d418ec Added param to specify buffering of output streams
+ parameters can be now delimited also by comma (in addition to colon)
2016-10-06 09:18:31 +02:00
Martin Pulec
ccfd220aeb Main: use port +2 for -P <vid_rx>:<vid_tx> syntax
Previously, default ports were used in this case which seem to be less
intuitive.
2016-07-26 15:06:11 +02:00
Martin Pulec
3e3287315f Keyboard control: keybindings to control AV delay 2016-06-29 10:37:00 +02:00
Martin Pulec
371b1ee2ab Fixed signal handlers - don't use unsafe functions 2016-06-28 17:33:24 +02:00
Martin Pulec
57fe2cef91 Added --param cmdline param to modify UG intenals
These options are now available:
decoder - to force user selected decoder (eg. libavcodec instead
of gpujpeg, which would be chosen by default)
drop-policy - to allow non-blocking put frame (effectively drops
frames that cannot be displayed immediately, eg. when display
frame rate is lower than video frame rate)
2016-04-19 13:10:55 +02:00
Martin Pulec
cc4e4eb362 Hd-rum-transcode: added -v option 2016-04-19 13:10:54 +02:00
Martin Pulec
0f40ee2012 Use single should_exit flag. 2016-03-07 11:11:47 +01:00
Martin Pulec
da1e0f28f2 Main: added --rtsp-server deprecation warning
+ renamed h264_std protocol to rtsp
2016-02-01 15:39:50 +01:00
Martin Pulec
92609804c7 Video_rxtx: hide start() to factory 2016-01-18 11:55:37 +01:00
Martin Pulec
4811883e9c Some cleanups 2016-01-18 11:30:19 +01:00
Martin Pulec
17625d8b66 Main: small cleanup (preinit and atexit) 2016-01-15 15:54:44 +01:00
Martin Pulec
4ae17a2085 Created common_preinit() for common setup 2016-01-13 18:11:14 +01:00
Martin Pulec
a68f4e58bb Capabilities: print available display devices 2015-12-10 14:42:29 +01:00
Martin Pulec
7a20056641 Select RX/TX protocol by name with --protocol param
This replaces -S/-i command-line switches.
2015-11-09 16:50:18 +01:00