DASHManager::DASHManager ( MPD *mpd,
IAdaptationLogic::LogicType type, stream_t *stream) :
conManager ( NULL ),
- currentChunk ( NULL ),
adaptationLogic( NULL ),
logicType ( type ),
mpdManager ( NULL ),
return this->buffer->peek(pp_peek, i_peek);
}
-const mpd::MPDManager* DASHManager::getMpdManager() const
-{
- return this->mpdManager;
-}
-
mtime_t DASHManager::getDuration() const
{
if (mpd->isLive())
return mpd->getDuration() * rep->getBandwidth() / 8;
}
}
-
-const Chunk *DASHManager::getCurrentChunk() const
-{
- return this->currentChunk;
-}
int peek ( const uint8_t **pp_peek, size_t i_peek );
int seekBackwards ( unsigned len );
- const mpd::MPDManager* getMpdManager () const;
mtime_t getDuration() const;
- const http::Chunk *getCurrentChunk() const;
private:
http::HTTPConnectionManager *conManager;
- http::Chunk *currentChunk;
logic::IAdaptationLogic *adaptationLogic;
logic::IAdaptationLogic::LogicType logicType;
mpd::MPDManager *mpdManager;