webOS Userland
Native system APIs for webOS
StarfishMediaAPIs Class Reference

Public Member Functions

 StarfishMediaAPIs (const char *uid=nullptr)
 
bool Exit ()
 
std::string Feed (const char *payload)
 
bool flush ()
 
bool flush (const char *payload)
 
int64_t getCurrentPlaytime ()
 
bool getVideoRenderQueueLength (int &length)
 
bool getAudioBufferSize (int &total, int &used)
 
const char * getMediaID ()
 
const char * getVolume ()
 
bool Load (const char *payload, void(callback)(int type, int64_t numValue, const char *strValue))
 
bool Load (const char *payload, void(callback)(int type, int64_t numValue, const char *strValue, void *data), void *data)
 
bool notifyBackground ()
 
bool notifyForeground ()
 
bool Pause ()
 
bool Play ()
 
bool pushEOS ()
 
void setCurrentPlaytime (int64_t playtime)
 
bool Seek (const char *millis)
 
bool setAudioMute (const char *message)
 
void setDrmOperation (const char *message)
 
bool setHdrInfo (const char *message)
 
bool SetPlayRate (const char *message)
 
bool SetProperty (const char *message)
 
bool setTimeToDecode (const char *)
 
bool setVolume (const char *)
 
bool setWindowId (const char *message)
 
bool Stop ()
 
bool takeSnapshot (const char *message)
 
bool Unload ()
 

Public Attributes

boost::shared_ptr< mediapipeline::Playerplayer
 

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