RDK Documentation (Open Sourced RDK Components)
|
Fragment collector MPEG DASH declarations. More...
#include "StreamAbstractionAAMP.h"
#include "AampJsonObject.h"
#include <string>
#include <stdint.h>
#include "libdash/IMPD.h"
#include "libdash/INode.h"
#include "libdash/IDASHManager.h"
#include "libdash/IProducerReferenceTime.h"
#include "libdash/xml/Node.h"
#include "libdash/helpers/Time.h"
#include "libdash/xml/DOMParser.h"
#include <libxml/xmlreader.h>
#include <thread>
#include "admanager_mpd.h"
Go to the source code of this file.
Data Structures | |
struct | ProfileInfo |
Manifest file adaptation and representation info. More... | |
struct | FragmentDescriptor |
Stores information of dash fragment. More... | |
class | StreamAbstractionAAMP_MPD |
Fragment collector for MPEG DASH. More... | |
Macros | |
#define | MAX_MANIFEST_DOWNLOAD_RETRY_MPD 2 |
Functions | |
double | aamp_GetPeriodNewContentDuration (dash::mpd::IMPD *mpd, IPeriod *period, uint64_t &curEndNumber) |
double | aamp_GetPeriodStartTimeDeltaRelativeToPTSOffset (IPeriod *period) |
Get difference between first segment start time and presentation offset from period. More... | |
double | aamp_GetPeriodDuration (dash::mpd::IMPD *mpd, int periodIndex, uint64_t mpdDownloadTime=0) |
Get Period Duration. More... | |
Node * | aamp_ProcessNode (xmlTextReaderPtr *reader, std::string url, bool isAd=false) |
Get xml node form reader. More... | |
uint64_t | aamp_GetDurationFromRepresentation (dash::mpd::IMPD *mpd) |
Get duration though representation iteration. More... | |
Fragment collector MPEG DASH declarations.
Definition in file fragmentcollector_mpd.h.
struct ProfileInfo |
Manifest file adaptation and representation info.
Definition at line 79 of file fragmentcollector_mpd.h.
Data Fields | ||
---|---|---|
int | adaptationSetIndex | |
int | representationIndex |
double aamp_GetPeriodStartTimeDeltaRelativeToPTSOffset | ( | IPeriod * | period | ) |
Get difference between first segment start time and presentation offset from period.
start | time delta in seconds |
Definition at line 3661 of file fragmentcollector_mpd.cpp.
double aamp_GetPeriodDuration | ( | dash::mpd::IMPD * | mpd, |
int | periodIndex, | ||
uint64_t | mpdDownloadTime | ||
) |
Get Period Duration.
period | duration in milli seconds |
Definition at line 3966 of file fragmentcollector_mpd.cpp.
Node* aamp_ProcessNode | ( | xmlTextReaderPtr * | reader, |
std::string | url, | ||
bool | isAd | ||
) |
Get xml node form reader.
xml | node |
Definition at line 2914 of file fragmentcollector_mpd.cpp.
uint64_t aamp_GetDurationFromRepresentation | ( | dash::mpd::IMPD * | mpd | ) |
Get duration though representation iteration.
duration | in milliseconds |
Definition at line 4874 of file fragmentcollector_mpd.cpp.