|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
26 #ifndef ADMANAGERBASE_H_
27 #define ADMANAGERBASE_H_
44 static constexpr
const char *ADSTATE_STR[] =
46 (
const char *)
"OUTSIDE_ADBREAK",
47 (
const char *)
"IN_ADBREAK_AD_NOT_PLAYING",
48 (
const char *)
"IN_ADBREAK_AD_PLAYING",
49 (
const char *)
"IN_ADBREAK_AD_READY2PLAY",
50 (
const char *)
"IN_ADBREAK_WAIT2CATCHUP"
100 virtual void SetAlternateContents(
const std::string &adBreakId,
const std::string &adId,
const std::string &url, uint64_t startMS=0, uint32_t breakdur=0)
102 AAMPLOG_WARN(
"Stream doesn't support CDAI. Rejecting the promise.");
void SendAdResolvedEvent(const std::string &adId, bool status, uint64_t startMS=0, uint64_t durationMs=0)
Send status of Ad manifest downloading & parsing.
@ IN_ADBREAK_WAIT2CATCHUP
CDAIObject & operator=(const CDAIObject &)=delete
CDAIObject assignment operator overloading.
@ IN_ADBREAK_AD_NOT_PLAYING
AdState
Ad playback states.
CDAIObject(AampLogManager *logObj, PrivateInstanceAAMP *aamp)
CDAIObject constructor.
Private functions and types used internally by AAMP.
Class representing the AAMP player's private instance, which is not exposed to outside world.
PrivateInstanceAAMP * mAamp
virtual void SetAlternateContents(const std::string &adBreakId, const std::string &adId, const std::string &url, uint64_t startMS=0, uint32_t breakdur=0)
Setting the alternate contents' (Ads/blackouts) URL.
@ IN_ADBREAK_AD_READY2PLAY
Base class for the client side DAI object.
virtual ~CDAIObject()
CDAIObject destructor.