Commit graph

67 commits

Author SHA1 Message Date
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
90f80f1a8d Fixed negative offsets 2016-09-20 13:26:04 +02:00
Thulinma
7518014703 Added DTSH versioning, made bigMeta the default 2016-09-15 16:03:24 +02:00
Thulinma
1b091987bb Increase packet timeout on DTSC packets 2016-08-01 20:59:44 +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
7afd3415b3 Fixed support for VoD assets with a > 8MiB header size 2016-07-26 13:57:43 +02:00
Thulinma
3844dac4fd Added track language support to TS and DTSC internals 2016-07-18 10:20:29 +02:00
Thulinma
9e9550f2b7 DTSC packet re-init verbosity tweak 2016-07-06 16:05:48 +02:00
Thulinma
1bf574acb8 Small tweaks to various libraries and debugging messages. 2016-07-06 11:16:17 +02:00
Thulinma
9e391915df HLS-related buffer size optimizes 2016-06-26 21:14:23 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
7c759c7664 Optimized getWritableIdentifier to improve the speed of MistInBuffer even further. 2016-02-12 15:39:01 +01:00
Thulinma
9631b79e86 Removed DTSC::Stream and DTSC::Ring classes - no longer in use anywhere. 2016-01-28 11:27:26 +01:00
Thulinma
500cdf6e71 Improved BPS calculation for live streams. 2015-10-20 14:12:11 +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
b0b4a5d10d Added Track::finalize call to finish (live) tracks and record their complete duration, by Oswald de Bruin. 2015-09-03 20:20:47 +02:00
Thulinma
f9201cbf9a Fixes to HTTP parser lib, DTSCMeta keysizes, MP4 headers and 4+GiB MP4 file output by Oswald de Bruin 2015-04-02 16:22:52 +02:00
Thulinma
e8d1578a33 removed readOnlyMeta (was not really in use) 2015-03-06 16:52:59 +01:00
Thulinma
2283cf26e3 Generic bitfield handler functions.
# Conflicts:
#	lib/dtscmeta.cpp
2015-03-03 11:41:17 +01:00
Thulinma
9587f3b708 Undo accidental change of bpos size in DTSC headers from 5 to 8 bytes. 2015-02-17 21:13:28 +01:00
Thulinma
5a2ee56e6b Updated function signatures of DTSC header calls to be more compatible. 2015-02-13 15:29:09 +01:00
Thulinma
6a61b3be08 Made shared memory or shared files implementation a compile flag, fixed various compile warnings. 2014-12-30 22:11:42 +01:00
Thulinma
4d9f4da3f1 Ogg support fixed and re-added. Squash of various commits made by Wouter Spruit. 2014-12-23 13:05:41 +01:00
Thulinma
6d67bcdd67 Added Meta.updatePosOverride for efficient conversions from streams to DTSC files. 2014-12-13 00:13:27 +01:00
Thulinma
1798db4602 Optimized metadata updating, added genericFill function to DTSC::Packet for efficient packet creation. 2014-12-12 16:37:01 +01:00
Thulinma
f059e2148c Optimized metadata updater. 2014-12-11 15:49:30 +01:00
Erik Zandvliet
afef126295 Fix for not having to read through the entire file on startup of input. 2014-12-02 12:41:48 +01:00
Thulinma
1610a6b2f3 Changed non-video keyframe interval to a define in dtscmeta.cpp 2014-10-04 13:42:49 +02:00
Thulinma
96a7205b39 Fixed first fragment not being correctly sized. 2014-10-03 16:48:48 +02:00
Thulinma
08953540f6 New input starting method based on JSON capabilities. 2014-10-02 15:38:59 +02:00
Thulinma
f6e854501d Fixed livestreaming and most likely a few other bugs, too. 2014-09-29 21:00:20 +02:00
Thulinma
d442b4e2dc Performance improvements. Removed the following deprecated functions from Socket::Connection class: flush(), Send(*) 2014-09-24 16:31:56 +02:00
Thulinma
c382fc16ea Made DTSC::Packet::getScan more reliable. 2014-09-03 16:13:42 +02:00
Thulinma
ec831a98c1 Added some functionality to the DTSC::Scan class 2014-08-29 17:26:47 +02:00
Thulinma
306c896bea Corrected handling and messaging about empty packets in DTSC::Packet::reinit. 2014-08-05 16:45:51 +02:00
Thulinma
9554263e2f Fixed Packet::reInit printing errors for empty packets. 2014-08-05 16:03:24 +02:00
Thulinma
4ff3985481 Fixed comma placement issues with DTSC::Scan::toPrettyString 2014-07-22 15:01:37 +02:00
Thulinma
8c01ec8897 Such style. (Code style unification) 2014-06-18 10:39:27 +02:00
Thulinma
19e73019fe Silence ALL the compile warnings! 2014-06-07 23:46:47 +02:00
Thulinma
c973e5060c Optimizations to DTSC::Scan when called with raw character pointers. 2014-05-12 13:56:44 +02:00
Thulinma
9a19cf2e20 Implemented DTSC::Scan for more efficient use of system memory. 2014-05-11 14:38:04 +02:00
Erik Zandvliet
4f1e1fa1d7 Abstraction of semaphore to a class 2014-04-30 11:33:46 +02:00
Thulinma
60929d5014 Made DTSC seeking functions more robust. 2014-04-22 16:15:11 +02:00
Thulinma
4e0fe2e6e5 Changed init data printing functions to print as hex garbage instead of binary garbage. 2014-04-17 10:35:21 +02:00
Thulinma
dbf0b74e0a Improved various DTSC toPrettyString functions to be able to handle std::ostream instead of std::stringstream. 2014-04-12 08:07:19 +02:00
Thulinma
0e5d838a20 Shared Memory updates 2014-04-04 02:08:05 +02:00
Thulinma
5c0f053006 Prettified error messages, first work on Util::Config server helpers. 2014-01-27 09:41:24 +01:00
Thulinma
fccacc5c96 Fix assorted DTSC header bugs. 2014-01-10 14:50:36 +01:00
Erik Zandvliet
1477939924 Added writable identifier, to uniquely define a track when writing it to a file or socket. 2014-01-07 11:57:13 +01:00