Commit graph

59 commits

Author SHA1 Message Date
Thulinma
d0374812e4 Prevent race condition when grim_reaper thread is already trying to lock while the thread is being asked to shut down 2024-07-15 11:47:26 +02:00
Thulinma
0af85de22d UDP API port is now stored in and read from global config 2023-05-01 15:21:10 +02:00
Thulinma
e9ea839996 32-bit fixes 2023-02-27 10:43:02 +01:00
Marco van Dijk
ea25d4b74b Scheduled Pushes
Change-Id: I3d3a75f4a45d96e6a7849b14634caedd0899ac69
2023-02-09 17:51:45 +01:00
Marco van Dijk
97d24f75e4 Custom variables support
Change-Id: Ia847a868d1803dc80fdb8a627d57bba571cdee64
2023-02-09 12:49:01 +01:00
Thulinma
896b15380f Util::Procs::getOutputOf rewrite, now reads data while application is still running instead of waiting for it to exit first (prevents deadlock on boot with small pipe buffers) 2021-10-19 22:29:42 +02:00
Thulinma
5774ce3b9e Fixed segfault in StartPiped when out of file descriptors 2021-10-19 22:29:42 +02:00
Thulinma
f862263354 Speed up MistInBuffer shutdown time 2021-10-19 22:29:41 +02:00
Thulinma
67c0d6666f Fix for file descriptors getting hammered by StartPiped if 100, 101 or 102 were open. 2021-10-19 22:29:41 +02:00
Thulinma
3d26741148 Socket library and Config library restructuring, improvement to UDP socket reliability 2021-10-19 22:29:41 +02:00
Thulinma
0af992d405 Various fixes, among which:
- Fixed segfault when attempting to initialseek on disconnected streams
- Fix 100% CPU bug in controller's stats code
- WebRTC UDP bind socket improvements
- Several segfault fixes
- Increased packet reordering buffer size from 30 to 150 packets
- Tweaks to default output/buffer behaviour for incoming pushes
- Added message for load balancer checks
- Fixed HLS content type
- Stats fixes
- Exit reason fixes
- Fixed socket IP address detection
- Fixed non-string arguments for stream settings
- Added caching for getConnectedBinHost()
- Added WebRTC playback rate control
- Added/completed VP8/VP9 support to WebRTC/RTSP
- Added live seek option to WebRTC
- Fixed seek to exactly newest timestamp
- Fixed HLS input

# Conflicts:
#	lib/defines.h
#	src/input/input.cpp
2021-10-19 22:29:40 +02:00
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02:00
Thulinma
dbafdf6744 Correct handling of reaper thread in forking binaries 2021-03-19 22:47:06 +01:00
Thulinma
8b7757c8e9 Added trigger statistics to Prometheus-style outputs, fixed executable triggers not correctly responding with the default on execv fail 2018-12-13 16:48:57 +01:00
Thulinma
e18f2f0b47 Merge branch 'development' into LTS_development 2018-12-13 16:48:52 +01:00
Thulinma
6419da5eba Fixed crash in child of executable with grim_reaper active 2018-12-13 16:48:46 +01:00
Erik Zandvliet
10fa4b7e7b libmist backport from new metadata branch with improved typing and styling 2018-12-06 11:07:07 +01:00
Erik Zandvliet
2607113727 Library code style update + some minor backports from Pro edition 2018-12-04 13:11:48 +01:00
Thulinma
42b9ec08af Increase child cleanup timeout from 5 to 10 seconds, improved shutdown handling 2018-02-08 15:50:19 +01:00
Thulinma
5675cb793d Merge branch 'development' into LTS_development
# Conflicts:
#	lib/shared_memory.cpp
2016-12-28 16:48:25 +01:00
Thulinma
1b80cfbb20 Made StartPiped use const argument 2016-12-28 16:44:20 +01:00
Thulinma
1fde08e333 Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input.cpp
2016-11-18 15:34:48 +01:00
Thulinma
42eca60cfc Added forget and remember functions to process library 2016-11-18 15:33:58 +01:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
5da3c24eae Made process library thread-safe. 2016-05-18 23:33:27 +02:00
Erik Zandvliet
72de5e5b90 Changed sleep to wait everywhere where it was needed 2016-05-18 17:06:23 +02:00
Thulinma
fd123c8c1f Listening sockets now closed when forking child processes, preventing lock of ports when children aren't killed. 2016-04-22 09:30:32 +02:00
Erik Zandvliet
1f4b523b1b Initial TS Input commit 2015-09-10 00:54:55 +02:00
Thulinma
243a05c8af Removed unused code from procs library, updated and simplified connector handler in controller. 2015-04-16 12:23:03 +02:00
wouter spruit
688f339aab added pid/timeout/kill functionality to stats 2015-03-03 11:22:42 +01:00
Thulinma
9b798275ea Improved Procs::StartPiped error reporting. 2014-07-29 14:26:54 +02:00
Thulinma
e090a9368d Fixed long forgotten merges. 2014-06-18 11:52:12 +02:00
Thulinma
8c01ec8897 Such style. (Code style unification) 2014-06-18 10:39:27 +02:00
Thulinma
57bcd8f25c Fixes and new functionality by Wouter Spruit, mostly for the HTTP proxy rewrite. 2014-06-18 10:38:40 +02:00
Thulinma
0e5d838a20 Shared Memory updates 2014-04-04 02:08:05 +02:00
Thulinma
0fe0c1fb4f Fixed slow process exit bug, improved debug messaging for procs. 2014-01-27 09:41:24 +01:00
Thulinma
5c0f053006 Prettified error messages, first work on Util::Config server helpers. 2014-01-27 09:41:24 +01:00
Thulinma
2d0f25b7be Fixed a few bugs in Util::Procs SIGCHILD handling / isActive function. 2013-09-30 13:25:20 +02:00
Thulinma
6675b647b8 Some static/non-static fixes to procs/stream library, updated converter to make use of getOutputOf function instead of re-implementing this. 2013-08-27 00:29:04 +02:00
Thulinma
6f7b300bf5 Fixed slow-working Util::Procs terminate handler. 2013-08-25 02:05:20 +02:00
Thulinma
b907ade842 Removed some verbosity from procs library. 2013-08-12 16:24:10 +02:00
Thulinma
0daa757e92 Added getOutputOf functions to easily retrieve output of executed applications. 2013-08-07 16:04:34 +02:00
Thulinma
588e171733 Those last two commit, but slightly better. 2013-07-23 16:23:52 +02:00
Thulinma
9cdf8d92a1 Fixed a bug. (DTSC lib mistakenly wiped metadata when seeking backwards, re-re-fixed proc child signal problems) 2013-07-23 15:52:34 +02:00
Thulinma
6a72fddf7b Fixed edge case of interrupt handler for catching ended child processes. 2013-07-23 14:28:35 +02:00
Thulinma
10dc56c338 Fixed a race condition in process status checking. 2013-06-10 15:18:34 +02:00
Erik Zandvliet
dce6d4b030 Updates to StartPiped (added std::string version and a 2-process variant), also updated conversion to allow for status checks (not fully functional yet) 2013-06-06 15:30:37 +02:00
Thulinma
06f023f3df Tweaked Util::Procs exit handler timings. 2013-03-24 20:18:22 +01:00
Thulinma
bf69dacefd Added automated exit handler in Util::Procs. 2013-03-19 14:41:07 +01:00
Thulinma
aa5056ee3d Fixed compiling on OSX, also fixes DDVTECH/mistlib#1 2013-03-14 00:13:07 +01:00