RDK Documentation (Open Sourced RDK Components)
admanager_mpd.h File Reference

Client side DAI manger for MPEG DASH. More...

#include "AdManagerBase.h"
#include <string>
#include "libdash/INode.h"
#include "libdash/IDASHManager.h"
#include "libdash/xml/Node.h"
#include "libdash/IMPD.h"
Include dependency graph for admanager_mpd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CDAIObjectMPD
 Client Side DAI object implementation for DASH. More...
 
struct  AdNode
 Individual Ad's meta info. More...
 
struct  AdBreakObject
 AdBreak's metadata object. More...
 
struct  AdOnPeriod
 Individual Ad's object placed over the period. More...
 
struct  Period2AdData
 Meta info corresponding to each period. More...
 
struct  AdFulfillObj
 Temporary object representing currently fulfilling ad (given by setAlternateContent). More...
 
struct  PlacementObj
 Currently placing Ad's object. More...
 
class  PrivateCDAIObjectMPD
 Private Client Side DAI object for DASH. More...
 

Macros

#define OFFSET_ALIGN_FACTOR   2000
 

Enumerations

enum  AdEvent
 Events to the Ad manager's state machine. More...
 

yes

Client side DAI manger for MPEG DASH.

Definition in file admanager_mpd.h.


Data Structure Documentation

◆ AdOnPeriod

struct AdOnPeriod

Individual Ad's object placed over the period.

Definition at line 208 of file admanager_mpd.h.

Collaboration diagram for AdOnPeriod:
Collaboration graph
Data Fields
int32_t adIdx

Ad's idx (of vector)

uint32_t adStartOffset

Ad's start offset

Macro Definition Documentation

◆ OFFSET_ALIGN_FACTOR

#define OFFSET_ALIGN_FACTOR   2000

Observed minor slacks in the ad durations. Align factor used to place the ads correctly.

Definition at line 107 of file admanager_mpd.h.

Enumeration Type Documentation

◆ AdEvent

enum AdEvent
strong

Events to the Ad manager's state machine.

Enumerator
INIT 

Playback initialization

BASE_OFFSET_CHANGE 

Base period's offset change

AD_FINISHED 

Ad playback finished

AD_FAILED 

Ad playback failed

PERIOD_CHANGE 

Period changed

DEFAULT 

Default event

Definition at line 97 of file admanager_mpd.h.