Commit graph

136 commits

Author SHA1 Message Date
Thulinma
fef893f60a Derp 2024-07-04 14:41:44 +02:00
Thulinma
cf475a7c07 Prevent simultaneous access to the push list 2024-07-03 12:03:11 +02:00
Thulinma
aca4623a8a Fix various subtle concurrency issues in the controller 2024-07-03 12:02:53 +02:00
Thulinma
db30be38c5 Fix header includes to be a bit more consistent 2024-04-25 12:44:38 +02:00
Balder
ec757f48e9 Added some missing capabilities to SRT
Attempted to fix SRT push & embed links.
Push works, embed needs help

Changed capa to say UDP port as it is binding UDP

added methods to dtsc for output. added webrtc whip as input push url

added url_rel to DTSC

added "/" to the always_match and source_match for SDP and playlist to match with other protocols

updated Playlist to have source/always_match as array.
Noticed "variables_match" which is unused, what to do with it?

fix typo in -h controller text
2023-12-13 13:04:44 +01:00
Marco
b0d4422d27 Added machine readable exit reasons, INPUT_END trigger, OUTPUT_END trigger, and updated RECORDING_END trigger to include all of these. 2023-08-23 10:55:53 +02:00
Thulinma
282c736746 Make config auto-reading/writing configurable with command line flag 2023-07-06 14:04:51 +02:00
Thulinma
132e59db51 Support for reloading config from disk, writing config to disk after 60 seconds of no changes, reloading config from disk on API call request 2023-06-12 11:47:28 +02:00
Thulinma
9cd08e3a77 Renamed SRT input and output to SubRip to prevent confusion with TSSRT 2023-04-06 13:23:46 +02:00
Marco van Dijk
2b18a414b4 Added support for external writers 2023-02-22 13:25:42 +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
5bd58dff03 Added ATHEIST environment variable to disable angel process in Controller 2022-12-12 20:24:38 +01:00
Marco van Dijk
8ac486b815 Completed new sessions system
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-05 03:13:52 +02:00
Ramkoemar
074e757028 Sessions rework 2022-10-05 03:09:58 +02:00
Thulinma
13e04ce608 Split config support 2022-06-01 15:38:02 +02:00
Thulinma
82883d39ea Removed licensing system related code 2022-02-09 12:14:58 +01:00
Thulinma
c60c085d09 Robustified controller rolling reloads 2022-01-27 10:22:45 +01:00
Thulinma
36501a618e Fix controller locking up if MstLog pipe was already blocked during start, fixed several shared memory pages not being correctly re-created on crash recovery 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
771fad390a Allow overriding application name with -DAPPNAME="Name here" 2021-10-19 22:29:40 +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
Phencys
2b99f2f5ea New Meta commit 2021-10-19 22:29:40 +02:00
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02:00
Thulinma
5c8aa1bfbd Improved trustedproxy support 2021-08-30 12:43:19 +02:00
Thulinma
dbafdf6744 Correct handling of reaper thread in forking binaries 2021-03-19 22:47:06 +01:00
Thulinma
93d28526f7 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller.cpp
2020-02-26 16:09:22 +01:00
Thulinma
10e965327a Memory limit checking to help users create optimal configs 2020-02-26 16:08:39 +01:00
Thulinma
919e5eb41f Merge branch 'development' into LTS_development
# Conflicts:
#	CMakeLists.txt
#	src/controller/controller.cpp
#	src/controller/controller_api.cpp
2019-09-09 13:41:22 +02:00
Thulinma
309d39eab7 Backported UDP API from Pro edition 2019-09-09 13:36:09 +02:00
Thulinma
5418c1fefc Generalized Util::Config::is_restarting for rolling restarts, added rolling restart support to listening socket outputs 2019-05-23 13:30:24 +02:00
Thulinma
ea443945fe Generalized Util::Config::is_restarting for rolling restarts, added rolling restart support to listening socket outputs 2019-05-23 13:28:30 +02:00
Thulinma
f38c838cfd Fixed SYSTEM_START trigger ignoring return value 2019-02-28 13:16:02 +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
98e3940079 Robustify accesses to server config 2018-11-28 11:46:33 +01:00
Thulinma
ac92e09262 Robustify accesses to server config 2018-11-28 11:46:22 +01:00
Thulinma
6a5549444b Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
#	src/output/output_ts_base.cpp
2018-11-01 16:37:03 +01:00
Thulinma
24006648f9 Cleaned up, fixed and robustified semaphore and signal related code 2018-11-01 16:11:47 +01:00
Thulinma
8c2360fd56 Replaced all instances of localtime with localtime_r 2018-05-21 09:54:05 +02:00
Thulinma
2d9e9f3c8b Replaced all instances of localtime with localtime_r 2018-05-21 09:53:12 +02:00
Thulinma
1467fda3ec Merge branch 'development' into LTS_development 2018-01-30 16:05:58 +01:00
Thulinma
fd60a6b8d3 Fix Windows builds 2018-01-30 16:05:50 +01:00
Thulinma
26d039f278 Controller now disables colors when stdout is no terminal, additionally disables interactive setup when stdin is no terminal. 2017-12-08 19:48:49 +01:00
Thulinma
304426c2c6 Improved logging system 2017-12-08 19:48:49 +01:00
Thulinma
8c3178339b Controller now disables colors when stdout is no terminal, additionally disables interactive setup when stdin is no terminal. 2017-12-06 16:59:27 +01:00
Thulinma
08dac5b2db Improved logging system 2017-12-06 16:59:27 +01:00
Thulinma
e1cc07c455 Added trigger capabilities. 2017-11-15 17:17:17 +01:00
Thulinma
5e7627705a Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller.cpp
2017-07-28 13:25:22 +02:00
Thulinma
b0404075f5 Prettified controller + fixed Ctrl+C during startup questions + made 't' answer add protocols + No longer ask to add protocols when none are installed. 2017-07-28 13:23:15 +02:00