Commit graph

85 commits

Author SHA1 Message Date
Thulinma
05c144fb9e Implemented missing DTSC::Track::getFrag function 2018-01-24 18:59:47 +01:00
Erik Zandvliet
cba0c0b38b Calculate both average and peak bit rates 2017-10-24 14:42:16 +02:00
Thulinma
f3f2802844 Added minKeepAway support to DTSC::Track object, senders and parsers 2017-08-03 15:06:12 +02:00
Thulinma
3eb69ff2c7 Changed bufferLivePacket and related functions to have const DTSC::Packet references 2017-07-28 18:38:54 +02:00
Thulinma
e8db89319a DTSC getInt is now uint64_t instead of int 2017-07-27 18:56:28 +02:00
Ramkoemar
c7816c42f0 updated appendNal and added upgradeNal in DTSC lib, nal lib speedup 2017-07-25 15:56:38 +02:00
Thulinma
76b5a91da6 Fixed packBytePos not being handled correctly 2017-06-21 20:37:55 +02:00
Thulinma
108499bc58 Meta::toFile now returns, as it should 2017-05-23 21:36:35 +02:00
Thulinma
288cc5d3ce Improved NAL unit and keyframe handling 2017-05-15 17:12:48 +02:00
Thulinma
e5470f035e DTSC::Packet::genericFill now allows zero sized packets, when combined with a null pointer 2017-05-15 17:12:43 +02:00
Ramoe
45022f36c9 Added several DTSC packet convenience functions 2017-05-12 12:44:02 +02:00
Thulinma
5e2b29466b Fixes and improvements to generic push-input handling 2017-04-18 12:00:58 +02:00
Thulinma
88749d2259 Added sourceURI to stream metadata structures 2017-02-28 13:59:38 +01:00
Thulinma
567759ce26 Fixed segfault in buffer removeKey call 2016-11-03 12:21:47 +01:00
Thulinma
43aee53e3e Workaround for segfault in Track::writeTo function 2016-11-03 12:21:42 +01:00
Thulinma
6d8189f64a Fixed DTSH version binary writing bug 2016-11-02 15:41:04 +01:00
Thulinma
224e3a3f0d Some small DTSC and HTTP library fixes 2016-10-11 16:03:32 +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
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