RDK Documentation (Open Sourced RDK Components)
CDAIObjectMPD Class Reference

Client Side DAI object implementation for DASH. More...

#include <admanager_mpd.h>

Inheritance diagram for CDAIObjectMPD:
Inheritance graph
Collaboration diagram for CDAIObjectMPD:
Collaboration graph

Public Member Functions

 CDAIObjectMPD (AampLogManager *logObj, PrivateInstanceAAMP *aamp)
 CDAIObjectMPD Constructor.
 
virtual ~CDAIObjectMPD ()
 CDAIObjectMPD destructor.
 
 CDAIObjectMPD (const CDAIObjectMPD &)=delete
 CDAIObject Copy Constructor.
 
CDAIObjectMPDoperator= (const CDAIObjectMPD &)=delete
 CDAIObject assignment operator overloading.
 
PrivateCDAIObjectMPDGetPrivateCDAIObjectMPD ()
 Getter for the PrivateCDAIObjectMPD instance. More...
 
virtual void SetAlternateContents (const std::string &periodId, const std::string &adId, const std::string &url, uint64_t startMS=0, uint32_t breakdur=0) override
 Setting the alternate contents' (Ads/blackouts) URL. More...
 
- Public Member Functions inherited from CDAIObject
 CDAIObject (AampLogManager *logObj, PrivateInstanceAAMP *aamp)
 CDAIObject constructor. More...
 
 CDAIObject (const CDAIObject &)=delete
 CDAIObject Copy Constructor.
 
CDAIObjectoperator= (const CDAIObject &)=delete
 CDAIObject assignment operator overloading.
 
virtual ~CDAIObject ()
 CDAIObject destructor.
 

Private Attributes

class PrivateCDAIObjectMPDmPrivObj
 

yes

Client Side DAI object implementation for DASH.

Definition at line 44 of file admanager_mpd.h.

Member Function Documentation

◆ GetPrivateCDAIObjectMPD()

PrivateCDAIObjectMPD* CDAIObjectMPD::GetPrivateCDAIObjectMPD ( )
inline

Getter for the PrivateCDAIObjectMPD instance.

Returns
PrivateCDAIObjectMPD object pointer

Definition at line 76 of file admanager_mpd.h.

◆ SetAlternateContents()

void CDAIObjectMPD::SetAlternateContents ( const std::string &  periodId,
const std::string &  adId,
const std::string &  url,
uint64_t  startMS = 0,
uint32_t  breakdur = 0 
)
overridevirtual

Setting the alternate contents' (Ads/blackouts) URL.

Parameters
[in]periodId- Adbreak's unique identifier; the first period id
[in]adId- Individual Ad's id
[in]url- Ad URL
[in]startMS- Ad start time in milliseconds
[in]breakdur- Adbreak's duration in MS

Reimplemented from CDAIObject.

Definition at line 63 of file admanager_mpd.cpp.

Field Documentation

◆ mPrivObj

class PrivateCDAIObjectMPD* CDAIObjectMPD::mPrivObj
private

Private instance of Client Side DAI object for DASH

Definition at line 46 of file admanager_mpd.h.


The documentation for this class was generated from the following files: