RDK Documentation (Open Sourced RDK Components)
Go back to Wiki
Doxygen Home
Related Pages
RDK Components
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
FakeAampCacheHandler.cpp
1
/*
2
* If not stated otherwise in this file or this component's license file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2022 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
#include "
AampCacheHandler.h
"
21
22
AampCacheHandler::AampCacheHandler
(
AampLogManager
*logObj)
23
{
24
}
25
26
AampCacheHandler::~AampCacheHandler
()
27
{
28
}
29
30
void
AampCacheHandler::InsertToPlaylistCache
(
const
std::string url,
const
GrowableBuffer
* buffer, std::string effectiveUrl,
bool
trackLiveStatus,
MediaType
fileType)
31
{
32
}
33
34
void
AampCacheHandler::StartPlaylistCache
()
35
{
36
}
37
38
void
AampCacheHandler::StopPlaylistCache
()
39
{
40
}
41
42
bool
AampCacheHandler::RetrieveFromPlaylistCache
(
const
std::string url,
GrowableBuffer
* buffer, std::string& effectiveUrl)
43
{
44
return
false
;
45
}
46
47
void
AampCacheHandler::SetMaxPlaylistCacheSize
(
int
maxPlaylistCacheSz)
48
{
49
}
50
51
void
AampCacheHandler::SetMaxInitFragCacheSize
(
int
maxInitFragCacheSz)
52
{
53
}
54
55
bool
AampCacheHandler::IsUrlCached
(std::string url)
56
{
57
return
false
;
58
}
AampCacheHandler::AampCacheHandler
AampCacheHandler(AampLogManager *logObj)
Default Constructor.
Definition:
AampCacheHandler.cpp:314
AampCacheHandler::InsertToPlaylistCache
void InsertToPlaylistCache(const std::string url, const GrowableBuffer *buffer, std::string effectiveUrl, bool trackLiveStatus, MediaType fileType=eMEDIATYPE_DEFAULT)
Retrieve playlist from cache
Definition:
AampCacheHandler.cpp:31
AampCacheHandler::StartPlaylistCache
void StartPlaylistCache()
Start playlist caching.
Definition:
AampCacheHandler.cpp:347
AampLogManager
AampLogManager Class.
Definition:
AampLogManager.h:150
AampCacheHandler::~AampCacheHandler
~AampCacheHandler()
Destructor Function.
Definition:
AampCacheHandler.cpp:333
AampCacheHandler::RetrieveFromPlaylistCache
bool RetrieveFromPlaylistCache(const std::string url, GrowableBuffer *buffer, std::string &effectiveUrl)
Retrieve playlist from cache.
Definition:
AampCacheHandler.cpp:111
MediaType
MediaType
Media types.
Definition:
AampMediaType.h:37
AampCacheHandler::IsUrlCached
bool IsUrlCached(std::string)
IsUrlCached - Check if URL is already cached.
Definition:
AampCacheHandler.cpp:407
AampCacheHandler.h
Cache handler for AAMP.
AampCacheHandler::StopPlaylistCache
void StopPlaylistCache()
Stop playlist caching.
Definition:
AampCacheHandler.cpp:358
GrowableBuffer
Structure of GrowableBuffer.
Definition:
AampMemoryUtils.h:39
AampCacheHandler::SetMaxInitFragCacheSize
void SetMaxInitFragCacheSize(int maxInitFragCacheSz)
SetMaxInitFragCacheSize - Set Max Cache Size.
Definition:
AampCacheHandler.cpp:618
AampCacheHandler::SetMaxPlaylistCacheSize
void SetMaxPlaylistCacheSize(int maxPlaylistCacheSz)
SetMaxPlaylistCacheSize - Set Max Cache Size.
Definition:
AampCacheHandler.cpp:396
components
generic
aamp
test
utests
fakes
FakeAampCacheHandler.cpp
Generated on Thu Feb 9 2023 06:32:28 for RDK Documentation (Open Sourced RDK Components) by
1.8.17