RDK Documentation (Open Sourced RDK Components)
Aampcli Class Reference
Collaboration diagram for Aampcli:
Collaboration graph

Public Member Functions

void doAutomation (int startChannel, int stopChannel, int maxTuneTimeS, int playTimeS, int betweenTimeS)
 
FILE * getConfigFile (const std::string &cfgFile)
 
void initPlayerLoop (int argc, char **argv)
 To initialize Gstreamer and start mainloop (for standalone mode) More...
 
void newPlayerInstance (void)
 
 Aampcli (const Aampcli &aampcli)
 
Aampclioperator= (const Aampcli &aampcli)
 

Static Public Member Functions

static void runCommand (void *args)
 
static void * aampGstPlayerStreamThread (void *arg)
 Thread to run mainloop (for standalone mode) More...
 

Data Fields

bool mInitialized
 
bool mEnableProgressLog
 
bool mbAutoPlay
 
std::string mTuneFailureDescription
 
PlayerInstanceAAMPmSingleton
 
MyAAMPEventListenermEventListener
 
GMainLoop * mAampGstPlayerMainLoop
 
GThread * mAampMainLoopThread
 
std::vector< PlayerInstanceAAMP * > mPlayerInstances
 

Static Public Attributes

static const int mMaxBufferLength = 4096
 

yes

Definition at line 61 of file Aampcli.h.

Member Function Documentation

◆ aampGstPlayerStreamThread()

void * Aampcli::aampGstPlayerStreamThread ( void *  arg)
static

Thread to run mainloop (for standalone mode)

Parameters
[in]arguser_data
Return values
voidpointer

Definition at line 255 of file Aampcli.cpp.

◆ initPlayerLoop()

void Aampcli::initPlayerLoop ( int  argc,
char **  argv 
)

To initialize Gstreamer and start mainloop (for standalone mode)

Parameters
[in]argcnumber of arguments
[in]argvarray of arguments

Definition at line 272 of file Aampcli.cpp.


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