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

Public Member Functions

 WebVTTSubtecDevParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type)
 
 WebVTTSubtecDevParser (const WebVTTSubtecDevParser &)=delete
 
WebVTTSubtecDevParseroperator= (const WebVTTSubtecDevParser &)=delete
 
bool init (double startPosSeconds, unsigned long long basePTS) override
 
bool processData (char *buffer, size_t bufferLen, double position, double duration) override
 
void reset () override
 
void sendCueData () override
 
void setProgressEventOffset (double offset) override
 
void updateTimestamp (unsigned long long positionMs) override
 
void pause (bool pause) override
 
void mute (bool mute) override
 
- Public Member Functions inherited from WebVTTParser
 WebVTTParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type)
 
virtual bool close ()
 
virtual void addCueData (VTTCue *cue)
 
- Public Member Functions inherited from SubtitleParser
 SubtitleParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type)
 
 SubtitleParser (const SubtitleParser &)=delete
 Copy Constructor.
 
SubtitleParseroperator= (const SubtitleParser &)=delete
 Assignment operator Overloading.
 
virtual void isLinear (bool isLinear)
 
virtual void setTextStyle (const std::string &options)
 

Protected Attributes

std::unique_ptr< SubtecChannelm_channel
 
- Protected Attributes inherited from WebVTTParser
unsigned long long mStartPTS
 
unsigned long long mPtsOffset
 
double mStartPos
 
double mCurrentPos
 
bool mReset
 
CueTimeStamp lastCue
 
std::queue< VTTCue * > mVttQueue
 
guint mVttQueueIdleTaskId
 
pthread_mutex_t mVttQueueMutex
 
double mProgressOffset
 
- Protected Attributes inherited from SubtitleParser
SubtitleMimeType mType
 
PrivateInstanceAAMPmAamp
 
AampLogManagermLogObj
 

Private Member Functions

std::string getVttAsTtml ()
 

yes

Definition at line 26 of file WebvttSubtecDevParser.hpp.


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