Commit graph

96 commits

Author SHA1 Message Date
Thulinma
53dfcfe131 Fixed VoD no-load/slow-load 100% CPU usage 2016-09-15 16:03:24 +02:00
Thulinma
4472d00e69 Improved sharedClient isAlive handling 2016-09-15 16:03:24 +02:00
Thulinma
bd4c951488 Fixed segfault in VoD outputs with corrupted headers 2016-09-15 15:46:04 +02:00
Thulinma
4538efb89b Added/improved start/endTime functions in Output class 2016-09-02 14:48:19 +02:00
Thulinma
2c44be003c Add method endTime() to outputs to get end of stream time in ms 2016-08-03 10:00:37 +02:00
Thulinma
bd174d6db0 Fix seek-to-end issues with very near-live outputs 2016-07-29 09:48:43 +02:00
Thulinma
0232417512 Added method to count currently playing tracks in Output classes 2016-07-28 20:44:15 +02:00
Thulinma
b7c3d7dc44 Various stability and verbosity tweaks for DTSC, RTMP and in general 2016-07-23 13:11:25 +02:00
Thulinma
4eb0a7c56c Fix RTMP buffering 2016-07-22 12:39:07 +02:00
Thulinma
e1fac6248e Fix RTMP not shutting down on playback. 2016-07-21 11:39:31 +02:00
Thulinma
c78cbc22ea Fixed real-time playback of VoD streams that do not start at a zero timestamp 2016-07-07 22:31:11 +02:00
Thulinma
e9364d8d78 Nulling dispacket on page load failures to prevent segmentation faults. 2016-06-19 14:12:03 +02:00
Thulinma
cf477ea401 Fixed memory corruption bug in Output::seek() 2016-06-17 11:25:56 +02:00
Thulinma
ea18815676 Fixed slow embed code (internal HTTP output) problem 2016-06-10 14:22:29 +02:00
Thulinma
903786df60 Add buffer/select mismatch check in Output class, tweak seek abort debug message levels to be WARN instead of INFO. 2016-06-10 14:22:19 +02:00
Thulinma
722738ffb0 Fixed VoD slow initial load problem. 2016-06-10 14:22:06 +02:00
Thulinma
055866e2fb Tweaked seek/isReadyForPlay implementations, fix HLS support for large key durations. 2016-06-10 14:20:17 +02:00
Thulinma
7c89122a52 Improved output default seek position and completeKeyReady logic 2016-06-10 14:17:42 +02:00
Thulinma
425aa3059f Optimized waiting for streams/tracks. 2016-06-06 16:31:06 +02:00
Thulinma
8edc642884 Fixed a typo. 2016-06-04 21:04:48 +02:00
Thulinma
3638d8405d Now nulling thisPacket on output reconnect(). 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
d56e7f1408 Added a proxy in Output for getting the host (by Erik Zandvliet) 2016-02-12 15:51:54 +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
Thulinma
c9ddc3fe1a Fixed level of waiting for track debug message. 2015-11-27 10:01:24 +01:00
Thulinma
3ba11441a1 Improved flow of controller main function, made config file only re-write if updates were actually necessary, failure to open a stream input now fails the output correctly. 2015-10-14 10:25:58 +02:00
Thulinma
73ef41e97b Properly trigger failure state on streams when connection to source fails. 2015-10-13 15:55:26 +02:00
Thulinma
c20b8f2081 Fixed newlines in debug messages. Also, backported various Pro edition fixes that belonged in OS edition. 2015-10-08 13:54:54 +02:00
Thulinma
16d38459b6 Made JSON library non-recursive.
Co-authored with Diederick.
2015-10-06 13:21:14 +02:00
Thulinma
94dafb7888 Made generic output debug message about "actually loaded..." clearer, changed level to warn. 2015-09-25 20:58:42 +02:00
Thulinma
1110f79548 Fixed completeKeyReady flag to only wait for selected tracks, not all tracks. 2015-09-25 20:57:09 +02:00
Thulinma
17f3a37454 Added ability for outputs to elect to only receive completed (i.e.: whole) keyframes, by Oswald de Bruin. 2015-09-03 20:24:35 +02:00
Thulinma
d2241886e5 Changed output.cpp to use Bitfield library instead of less portable system calls. 2015-07-31 23:43:08 +02:00
Thulinma
0bda57fa0c When reconnecting, close old connections to userClient/statsPage first to prevent accidental killing of outputs. 2015-07-22 09:53:04 +02:00
Thulinma
dc6b4ca0b9 Gave MistOut processes the ability to restart MistIn processes and/or reconnect to them as/if needed. 2015-07-21 23:36:32 +02:00
Thulinma
c3efc1001f Improved startInput function behaviour and reliability, added streamAlive function. 2015-07-21 23:07:10 +02:00
Thulinma
b8eec40fbf Fixed documentation for realTime variable, improved output verbosity when waiting for inputs to load up pages, made timer more precise. 2015-07-11 01:07:06 +02:00
Erik Zandvliet
1b724afc83 Small fix in playback speed, when resuming playback 2015-06-26 18:05:51 +02:00
Thulinma
7e2c4a8318 Fixed track misnegotiation in live pushing. 2015-05-19 14:20:45 +02:00
Thulinma
69cf17d01d Increased maximum simultaneous tracks from 5 to 10, made this a define option. Allow multiple pushes through a single RTMP connection. 2015-04-14 15:30:25 +02:00
Erik Zandvliet
4ee59b9aaf Various fixes 2015-04-03 14:58:06 +02:00
Thulinma
a9a7ff7202 Tweaked debug message verbosity. 2015-04-02 16:32:08 +02:00
Erik Zandvliet
d370ef4eac Working multi-input 2015-04-02 09:56:47 +02:00
Thulinma
3ef9f70ef7 Small tweaks to output verbosity and include flags. 2015-03-05 13:24:15 +01:00
Thulinma
87583dae49 Gracefully shut down outputs when signals are received. 2015-03-05 00:31:45 +01:00
Thulinma
81b7ab9a0e Fix page switching right after an audio track seek. 2015-03-04 18:58:08 +01:00
Thulinma
35ddc79c1a added pid/timeout/kill functionality to stats
# Conflicts:
#	src/output/output_rtmp.cpp
2015-03-03 11:33:52 +01:00
wouter spruit
bac101b1e5 added sleep in output_http, fix for high CPU usage 2015-02-25 16:17:10 +01:00
Thulinma
4586289c83 Changed type of debug setting for inputs/outputs to "debug" instead of "uint". 2015-02-20 17:05:51 +01:00
Thulinma
1e09acbb92 Fixed memory/FD leak in MistOutRTMP. 2015-02-03 18:44:59 +01:00