Commit graph

132 commits

Author SHA1 Message Date
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
41842227fa Added support for Opus in Ogg input 2017-05-13 23:42:32 +02:00
Thulinma
260894468e Changed input boot sequence to allow for finer control 2017-05-12 12:47:15 +02:00
Thulinma
43e82f8c87 Fix for Windows semaphore problem in live streams 2017-03-16 11:14:59 +01:00
Thulinma
b9dab56607 Fixes to MP3 input seeking 2017-03-13 14:49:31 +01:00
Thulinma
0ea100758d Added FLV::seekToTagType function for fast FLV seeking, now used in MistInFLV 2017-03-07 17:05:24 +01: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
8f38872ffc Fixed DTSC input bug with ping commands 2017-01-10 12:33:24 +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
c5870b02f1 Improved buffer behaviour for streams that are faster than real-time. Improved documentation for those areas as well. 2016-10-11 15:14:12 +02:00
Thulinma
748960bb44 Removed JSON dependency from FLV, sped up FLV input significantly, minor RTMP input speedup 2016-10-11 15:13:52 +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
a4f35ca11e Made sharedServer::finishEach explicit 2016-09-15 15:45:42 +02:00
Thulinma
781d32e9a2 Fixed corrupt header crash issue 2016-09-02 17:58:36 +02:00
Thulinma
2003d1f80e Fixed crash in FLV input with some single-track files 2016-09-02 17:54:49 +02:00
Thulinma
105b98bb95 Prevent coredump spam on production builds 2016-09-02 17:52:29 +02:00
Thulinma
a93fddf4e2 Added DTSC keep alive for idle connections 2016-09-02 17:50:52 +02:00
Thulinma
d50404a00c Fixed 100% CPU issue in DTSC pull input 2016-09-02 17:48:56 +02:00
Thulinma
2bdafc245d Fixed segmentation fault in buffer process for fast reconnects of sources 2016-07-28 20:45:39 +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
b7c3d7dc44 Various stability and verbosity tweaks for DTSC, RTMP and in general 2016-07-23 13:11:25 +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
fcc1dbd24f Tweaked buffer size for HLS some more 2016-06-28 00:13:34 +02:00
Thulinma
9e391915df HLS-related buffer size optimizes 2016-06-26 21:14:23 +02:00
Thulinma
ba044b4470 Fixes FLV/RTMP compatibility issues with corrupted RTMP streams, fixes various flash-codecs through RTMP. 2016-06-23 20:13:54 +02:00
Thulinma
055866e2fb Tweaked seek/isReadyForPlay implementations, fix HLS support for large key durations. 2016-06-10 14:20: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
2d78e1e5f1 Improved MistInBuffer CPU usage by 50%. 2016-02-12 15:46:23 +01:00
Thulinma
401fe65979 - Made HLS no longer skip first fragment.
- Ignore metadata tracks and invalid tracks for buffer calculations.
- Fixed statistics.
2015-12-25 14:37:32 +01:00
Erik Zandvliet
a604d616f7 'Ugly' fix for dissapearing metadata 2015-12-17 19:22:55 +01:00
Thulinma
4397b410d4 Fixed typo in buffer size calculation. 2015-11-27 09:53:23 +01:00
Thulinma
f268988354 Fixed buffer incorrectly nulling indexes for live streams. 2015-11-16 16:15:52 +01:00
Thulinma
9df850a149 Fix for repushing. 2015-10-20 15:35:21 +02:00
Thulinma
6d25774b94 Improved performance of FLV input and generic input IO class. 2015-10-06 16:36:06 +02:00
Thulinma
c62b4bf381 Split input handling into separate convert and serve functions. 2015-09-08 18:32:12 +02:00
Thulinma
c096450a8f Disallow < 1s buffer for live, set default from the start. 2015-09-05 20:40:44 +02:00
Thulinma
0e55b66e7d Improved track removal timings. 2015-09-04 17:24:28 +02:00