Commit Graph

155 Commits

Author SHA1 Message Date
Martin Pulec
7db96528cf Name threads 2019-05-30 11:38:05 +02:00
Martin Pulec
5ac25a242b Fixed --protocol {help|loopback} etc. behavior
With previous commit 3d69f376 this stopped to work because audio now
refuses unknown protocols.
2019-02-11 13:54:49 +01:00
Martin Pulec
9f6048e144 Added RFC 2435 compliant RTP JPEG transport
Compliant JPEGs can be now sent with SDP or RTSP.
2018-12-17 10:37:53 +01:00
Martin Pulec
0956d308df Import: do not start audio stack when no audio
This is particularly important with RFC-compliant SDP streams because
audio metadata is written in SDP file but when no audio is actually
sent, the receiving application may be confused by attemnting to
synchronize audio and video.
2018-12-17 10:37:45 +01:00
Martin Pulec
93a645b6c3 Disable traffic shaping over loopback 2018-12-17 10:36:20 +01:00
Martin Pulec
04de7b8d02 Added initial version of AJA display 2018-11-23 16:12:01 +01:00
Martin Pulec
a5c4ad8f63 Fixed modelines 2018-11-13 15:13:21 +01:00
Milos Liska
9298861113 Help fixes. 2018-11-07 15:35:12 +01:00
Martin Pulec
704d7d17b9 RTSP/SDP: default audio codec OPUS 2018-10-18 16:27:42 +02:00
Martin Pulec
f4be8d1d03 SDP: initial support for IPv6 2018-10-18 16:27:42 +02:00
Martin Pulec
f0c99a4005 Readded SDP
* Since RTSP is no longer working with current LIVE555, RFC-conforming
  H.264/A-law/u-law/OPUS streams can be accessed with SDP.
* experimental only (would need more effort to be robust, well written
  etc.)
* removed ifdefs from transmit relating to standard AV RTP payload
  formating
* main: added --protocol option (shortcut for --audio-protocol and
  --video-protocol)
* main: disable intra refresh in default setting for H.264 in RTSP/SDP
2018-10-18 16:27:42 +02:00
Martin Pulec
5369af6bf1 Main: pretty print output 2018-09-25 10:48:44 +02:00
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