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%
This commit is contained in:
parent
65a225ed95
commit
22cd84fcd5
5 changed files with 43 additions and 5 deletions
|
@ -326,6 +326,8 @@ namespace DTSC {
|
|||
void toPrettyString(std::ostream & str, int indent = 0, int verbosity = 0);
|
||||
//members:
|
||||
std::map<unsigned int, Track> tracks;
|
||||
Track & mainTrack();
|
||||
uint32_t biggestFragment();
|
||||
bool vod;
|
||||
bool live;
|
||||
bool merged;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue