Commit graph

381 commits

Author SHA1 Message Date
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
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
0b2355c5bb Fixed IPv6 addresses in hostnames in info_ json_ and embed_ URLs as well as .smil URLs. 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
66dc2dc0cb Encoding fixes:
- base64 library renamed to encode library
- Moved urlencode/urldecode functions from HTTP library to encode library
- Moved hex/unhex functions from HTTP library to encode library
- Added urldecode support to RTMP urls, fixing XSplit wildcard stream support
2016-04-14 12:03:40 +02:00
Thulinma
d56e7f1408 Added a proxy in Output for getting the host (by Erik Zandvliet) 2016-02-12 15:51:54 +01:00
Erik Zandvliet
a39350f83e CORS Headers 2016-01-26 14:31:09 +01:00
Erik Zandvliet
3c48a6c03c Embedding of flash players 2016-01-26 14:14:12 +01:00
Thulinma
78d69673f3 Fix HLS start issues for live streams. 2015-12-25 14:47:20 +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
Balder
d8bfe8cebc Fixed ability to disable video or audio tracks from HTTP output. 2015-11-19 14:02:21 +01:00
Thulinma
b28b463662 Improved HLS bandwidth accuracy. 2015-10-14 11:18:56 +02: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
096b289cdf Updated --version argument to give more detailed output. 2015-09-03 17:54:20 +02:00
Thulinma
7f1a76afa3 Changes to make VLC work again. 2015-08-04 19:53:07 +02:00
Thulinma
45e82e76eb Fixed HLS live playback on Apple devices, by resetting internal timestamps to zero for the beginning of all segments. 2015-08-04 11:34:51 +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
b7b2bb5f68 Added CORS headers to HSS output, added HTTP OPTIONS support to HLS and HSS outputs. 2015-07-28 20:23:06 +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
fce83c903b Make internal HTTP output correctly serve embed codes for newer stream types. 2015-07-21 23:07:41 +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
eaabf9e800 Fixed errors when requesting short URLs, fixed race condition during shutdown of controller. 2015-06-18 16:06:35 +02:00
Thulinma
0789cc46d2 Implemented RTMP calls ping and FCSubscribe, fixed a few RTMP typoes, added error handler for unsupported commands. 2015-06-12 23:58:23 +02:00
Thulinma
48f8bbcb91 Added support for HTTP prefixes without $ symbol. 2015-06-03 17:24:43 +02:00
Thulinma
17aa6bbbb6 Compatibility improvements as well as simplification to RTMP push input. 2015-05-21 19:10:05 +02:00
Thulinma
7e2c4a8318 Fixed track misnegotiation in live pushing. 2015-05-19 14:20:45 +02:00
Thulinma
a3bf393bea Added generic CORS header adder, now used in controller, HLS output and internal HTTP handler. 2015-05-12 11:23:00 +02:00
Thulinma
f94f7963de Fixed HDS live playback. 2015-04-15 12:33:06 +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
Thulinma
4a8abcaae6 Fixed MP4 filesize estimate. 2015-04-06 20:25:34 +02:00
Erik Zandvliet
4ee59b9aaf Various fixes 2015-04-03 14:58:06 +02:00