Commit Graph

173 Commits

Author SHA1 Message Date
Martin Pulec
4aaec8f7f0 Fixed some Coverity warnings 2021-02-23 15:00:58 +01:00
Martin Pulec
4643b36b98 Do not ship NAT PMP - use system library 2021-02-15 08:19:12 +01:00
Martin Piatka
a2903813d5 Added cuda RGB, RGBA, UYVY pixel conversions 2021-02-11 16:18:15 +01:00
Martin Pulec
143456770b Video frame: copy whole frame metadata in some places 2021-01-12 15:42:33 +01:00
Martin Pulec
17d2109f95 Video frame pool: moved implementation from header
Possible when it is no longer a template.
2021-01-08 15:51:24 +01:00
Martin Pulec
dcdd7d1a9a Video frame pool: allocator as a parameter 2021-01-08 15:51:21 +01:00
Martin Pulec
9e67b0904d Video frame pool: added get_pod_frame 2021-01-08 15:50:06 +01:00
Martin Pulec
d23ce9aa0d NAT: fixed a crash
Fixed a crash when empty/dummy state was returned
2020-12-10 23:54:37 +01:00
Martin Pulec
95056b6ca8 Hint when private outbound addr detected 2020-12-01 15:09:53 +01:00
Martin Pulec
90a1543ad2 NAT: allow renewal interval specification 2020-12-01 14:12:30 +01:00
Martin Pulec
762b34eb33 NAT: added auto-renewal 2020-12-01 14:01:44 +01:00
Martin Pulec
801f4f1332 NAT PMP - updated debug messages 2020-12-01 08:27:06 +01:00
Martin Pulec
24ca1513ae NAT: allow method selection 2020-12-01 08:26:39 +01:00
Martin Pulec
1798011661 PCP: use sockaddr_in instead of sockaddr_storage
We currently use IPv4 only. But there was some odd behavior that it
didn't work with sockaddr_in (pcp_new_flow() didn't allocate the
stream, no output was print). Now it seems to work OK but look at it
again if there will be some problem.
2020-11-30 16:31:25 +01:00
Martin Pulec
8f09b9d227 Added PCP NAT traversal 2020-11-30 16:31:25 +01:00
Martin Pulec
c50a0384ea URL encode according to RFC 3986
+ option for HTML 5 encoding
2020-11-26 09:30:18 +01:00
Martin Pulec
5565c569e4 SPOUT: escape potentially harmful symbols for probe
Escape potentially harmful symbols for probe (eg. space would make
problems when passed to GUI).
2020-11-25 16:27:55 +01:00
Martin Pulec
f364cc0a8c Added NAT PMP 2020-11-23 09:12:43 +01:00
Martin Pulec
49dd332639 SDP: Set correct IP version
+ some documentation
2020-11-11 15:56:23 +01:00
Martin Piatka
4dcf316276 Add simple profiler
Only built when -DBUILD_PROFILED is defined. To enable profiling set
output file name using the UG_PROFILE enviroment variable. The profiler
will then output a file which contains profiling data viewable in
Chromium (chrome://tracing). Use the macro PROFILE_FUNC at the start of
c++ functions  you want to include in the profiling
2020-09-30 12:55:15 +02:00
Martin Pulec
81fabcb61b Implement vo_postprocess filter chain
Currently it is intended rather only for simple filters that do not change
format much (especially tiling mode). When combining filters that change
video properties some issues may occur.
2020-08-13 15:22:41 +02:00
Martin Pulec
aaa7356baf SDP: added autorun option 2020-06-14 14:25:47 +02:00
Martin Pulec
6e25b47a69 SDP: support for undefined IP version 2020-06-12 14:52:36 +02:00
Martin Pulec
0c0996b1d0 get_local_addresses: AF may be also different than AF_INET/AF_INET6 2020-06-12 14:47:11 +02:00
Martin Pulec
7a68e8722d SDP/HTTP: provide security.txt and robots.txt 2020-06-12 11:40:23 +02:00
Martin Pulec
c47eef2d19 Removed sdp_global variable 2020-06-11 14:49:49 +02:00
Martin Pulec
b67a4a3994 SDP: updates
- option to specify file (or disable)
- always use the generated SDP (do not read any file)
- return the SDP on every HTTP request
2020-06-11 10:25:01 +02:00
Martin Pulec
e81ea542f6 Win: fixed warnings 2020-06-09 15:26:42 +02:00
Martin Pulec
e6720365f3 Win compilation fix 2020-05-22 12:03:32 +02:00
Martin Pulec
9950cfdfe1 Use maybe_unused attribute only for C++17 2020-05-21 09:00:41 +02:00
Martin Pulec
3bae0c8f16 JPEG reader: updated hint text 2020-05-15 15:21:23 +02:00
Martin Pulec
746e39dc07 PAM: updates 2020-05-15 09:17:39 +02:00
Martin Pulec
948d22bfa8 Logo cap. f.: separate PAM reading to header
+ added simple writer that may be useful
2020-05-13 13:22:21 +02:00
Martin Pulec
1a5b40b2e5 Video frame pool: added C API 2020-05-05 11:19:31 +02:00
Martin Pulec
319661fdbb Video frame pool: added helper function + default parm 2020-05-05 11:19:25 +02:00
Martin Pulec
180aa49711 vf_merge_tiles: copy compress_start timestamp 2020-04-22 22:32:00 +02:00
Martin Pulec
24a2645aba AJA: prepare for CI build 2020-02-11 15:44:19 +01:00
Martin Pulec
78b0630e5f XIMEA: configure fix, Coverity+clang-tidy warnings
- paths were not deduced when GENICAM_GENTL64_PATH was set
2019-12-02 16:47:30 +01:00
Martin Pulec
92a58c3f8c Indicate to compiler that color_out and log_msg are printf-alike
+ include config_* headers in some sources that don't (and include
  debug.h which now needs the ATTRIBUTE macro)
2019-11-21 16:51:03 +01:00
Martin Pulec
5f0ce56dc2 Color_out: flush output
Prevent interleaving formatting ESC sequences with different streams
when not flushed.
2019-11-21 13:48:06 +01:00
Martin Pulec
fa7ecd4048 Win32 alarm compat 2019-11-20 07:40:11 +01:00
Martin Pulec
7f17d8734c Fixed another Coverity bugs 2019-11-19 08:22:50 +01:00
Martin Pulec
1f36c1d315 Small documentation updates 2019-11-13 15:38:15 +01:00
Martin Pulec
11ab484be6 SDP: missing headers [Win] 2019-11-09 17:20:46 +01:00
Martin Pulec
4c71573a89 Fixed first series of Coverity bugs 2019-11-09 17:20:37 +01: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
0cc3cc0aa4 File cap.: print time info when seeking 2019-10-29 07:50:44 +01:00
Martin Pulec
002c55dd17 get_framerate_n/d: Fixed a warning
+ added unittests to make sure it works correctly
2019-10-16 09:49:05 +02:00
Martin Pulec
8864f88c61 Key control: improvements
- guard the recently added commands ('C', 'q', 's')
- display output related commands to cout instead with logger to prevent
  dismissing important messages (suspended output/verbose=0) which would
  confuse user (that may not know that the output is suspended)
- missing log_level restore in read_command() on EOF
2019-10-11 10:21:30 +02:00
Martin Pulec
eb551e4262 color_out: added some macros for rang.hpp
Added BOLD and RED macro to make the code more readable.
2019-10-10 09:20:38 +02:00