|
RDK Documentation (Open Sourced RDK Components)
|
AampCacheHandler(AampLogManager *logObj)
Default Constructor.
void InsertToPlaylistCache(const std::string url, const GrowableBuffer *buffer, std::string effectiveUrl, bool trackLiveStatus, MediaType fileType=eMEDIATYPE_DEFAULT)
Retrieve playlist from cache
void StartPlaylistCache()
Start playlist caching.
~AampCacheHandler()
Destructor Function.
bool RetrieveFromPlaylistCache(const std::string url, GrowableBuffer *buffer, std::string &effectiveUrl)
Retrieve playlist from cache.
bool IsUrlCached(std::string)
IsUrlCached - Check if URL is already cached.
void StopPlaylistCache()
Stop playlist caching.
Structure of GrowableBuffer.
void SetMaxInitFragCacheSize(int maxInitFragCacheSz)
SetMaxInitFragCacheSize - Set Max Cache Size.
void SetMaxPlaylistCacheSize(int maxPlaylistCacheSz)
SetMaxPlaylistCacheSize - Set Max Cache Size.