Commit graph

94 commits

Author SHA1 Message Date
Thulinma
bffd81f27e Correct handling of reaper thread in forking binaries 2021-04-23 12:42:54 +02:00
Thulinma
45b245ad4e Improved input shutdown reason detection 2019-11-27 10:25:50 +01:00
Thulinma
d0868d0f42 Added "version" element to JSON outputs of binaries, added version check in controller (ignores mismatched binaries now) 2019-05-23 12:36:45 +02:00
Thulinma
488cd0434a Windows fix for stream status 2019-05-16 13:48:57 +02:00
Thulinma
7565704fdc Fixed 32-bit compile issues 2019-01-25 23:49:56 +01:00
Thulinma
3cb03392e1 Added stream name to logging 2018-11-28 11:55:08 +01:00
Thulinma
ac92e09262 Robustify accesses to server config 2018-11-28 11:46:22 +01:00
Thulinma
b12c0254e1 Fixed outputs not reporting their current position accurately, improved buffering behaviour for VoD inputs. 2018-11-01 17:05:25 +01:00
Thulinma
24006648f9 Cleaned up, fixed and robustified semaphore and signal related code 2018-11-01 16:11:47 +01:00
Thulinma
776cfe1850 Backported various Pro edition changes and general code to Free edition 2018-10-15 10:25:43 +02:00
Thulinma
c17064c305 Re-order userClient init for stream-type inputs. 2018-09-08 16:15:47 +02:00
Ramoe
33488da329 Added singular mode override for inputs 2018-08-27 14:13:25 +02:00
Thulinma
791fc5eae9 Added a define for live stream latency 2018-08-23 15:31:22 +02:00
Thulinma
18f9d2682f Added some helpful high-level debug messages to generic IO handlers, fixed missing track selection when streaming live input 2018-07-20 14:22:46 +02:00
Thulinma
92d14f52ea Improved stream start handling 2018-05-09 10:12:35 +02:00
Thulinma
7c1a6fe7ce Added default implementation of Input::trackSelect 2018-01-24 18:57:30 +01:00
Thulinma
fb88d214fb Changed "No tracks found" input class message to INFO level from WARN level 2017-12-13 10:59:52 +01:00
Thulinma
db511a6e32 Fixed Windows-based live streams 2017-11-29 14:51:36 +01:00
Thulinma
1767f000cd Improved debug levels for track page loading 2017-11-27 11:14:30 +01:00
Thulinma
7d6bdb5553 Fixed left-over stream state problems 2017-11-07 11:12:02 +01:00
Thulinma
a27cf083e6 Added streamMainLoop function to Input class 2017-10-24 14:08:10 +02:00
Thulinma
6c4cea3954 Fix for Cygwin input crashes 2017-08-03 15:08:13 +02:00
Thulinma
41ec2822b1 Fixed inputs not obeying the SIMUL_TRACKS setting 2017-08-03 15:08:04 +02:00
Erik Zandvliet
c895a6b7e2 Added codec to "Done buffering" message 2017-07-28 18:39:09 +02:00
Thulinma
3446d022e8 Added header read speed timers, simplified header logic for VoD. 2017-07-26 17:00:36 +02:00
Thulinma
45e4cddec9 Updated Input class with preRun() and checkArguments() instead of single setup() function 2017-07-22 18:53:05 +02:00
Thulinma
25699ef8b2 Added stream status shared memory page (temporary system) 2017-06-22 14:03:35 +02:00
Thulinma
920efe0b26 Updated serve-type inputs to obey "always on" stream config setting, push inputs no longer counted as viewers. 2017-06-09 20:40:03 +02:00
Thulinma
26f74accdf MistInBuffer no longer boots if the process starting it has no data to fill it with. Optimized and simplified HTTP internal output. 2017-06-09 20:31:20 +02:00
Thulinma
24a1744b7e Input now prints message and aborts cleanly when pull lock could not be opened. 2017-05-23 21:36:49 +02:00
Thulinma
3a4f990143 Removed useless variables in input class 2017-05-15 12:26:38 +02:00
Thulinma
260894468e Changed input boot sequence to allow for finer control 2017-05-12 12:47:15 +02:00
Thulinma
9a783a782d Unified all push-in-enabled outputs into a single style/function of accepting incoming pushes 2017-02-28 14:05:37 +01:00
Thulinma
88749d2259 Added sourceURI to stream metadata structures 2017-02-28 13:59:38 +01:00
Thulinma
8866b299fb Unified all input types into a single flexible type 2017-02-28 13:57:59 +01:00
Thulinma
c6377085f0 Added shutdown reason message in stream-mode inputs 2017-01-10 12:33:30 +01:00
Thulinma
440596c117 Added crash handler for Pull-mode inputs 2016-11-18 15:33:25 +01:00
Thulinma
8d83a203be Added new generalized input keepRunning() function, FLV input now shuts down if the file is updated file it is active, added 15 second DTSH regeneration window 2016-11-14 11:01:00 +01:00
Thulinma
b98c379182 Added more stats to input buffering benchmarking code 2016-10-11 16:21:57 +02:00
Thulinma
22cd84fcd5 Added options to DTSC pull for controlling the buffer config. Made 8X target duration the default buffer size. Inputs now wait for INPUT_TIMEOUT *and* two biggestFragment durations, added a few helper functions to DTSC::Meta. Buffer now automatically sets segment size to min(configed_size, biggest_fragment/2) to prevent sudden reductions of fragment sizes by more than 50% 2016-10-11 15:02:29 +02:00
Thulinma
29c37fd4e9 Improved Input::checkHeaderTimes function to be less spammy about non-file inputs 2016-09-22 09:41:42 +02:00
Thulinma
fedd18146e Generalized DTSH header reading and writing of Inputs 2016-09-15 16:03:24 +02:00
Thulinma
781d32e9a2 Fixed corrupt header crash issue 2016-09-02 17:58:36 +02:00
Thulinma
5ffe12aba4 Tweaked several debug messages, backported a few Pro edition edits that were missed earlier 2016-07-28 20:45:31 +02:00
Thulinma
5c5ab6c058 Page limits implemented, performance timer for buffering pages added on debug level 5 2016-07-06 16:16:19 +02:00
Thulinma
9a1fb0873f Ignore packets with invalid timestamps in VoD inputs 2016-07-06 16:09:46 +02:00
Thulinma
1bf574acb8 Small tweaks to various libraries and debugging messages. 2016-07-06 11:16:17 +02:00
Thulinma
837b2b5d4f Added resume support and quick negotiation support from Pro, as well as support for stream-type inputs. 2016-06-02 14:07:21 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
c62b4bf381 Split input handling into separate convert and serve functions. 2015-09-08 18:32:12 +02:00