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

Public Member Functions

 WebVTTSubtecParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type)
 
 WebVTTSubtecParser (const WebVTTSubtecParser &)=delete
 
WebVTTSubtecParseroperator= (const WebVTTSubtecParser &)=delete
 
bool init (double startPosSeconds, unsigned long long basePTS)
 
bool processData (char *buffer, size_t bufferLen, double position, double duration)
 
bool close ()
 
void reset ()
 
void setProgressEventOffset (double offset)
 
void updateTimestamp (unsigned long long positionMs)
 
void pause (bool pause) override
 
void mute (bool mute) override
 
void setTextStyle (const std::string &options) override
 
- 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)
 

Protected Attributes

std::unique_ptr< SubtecChannelm_channel
 
- Protected Attributes inherited from SubtitleParser
SubtitleMimeType mType
 
PrivateInstanceAAMPmAamp
 
AampLogManagermLogObj
 

Private Attributes

std::uint64_t time_offset_ms_ = 0
 
std::uint64_t start_ms_ = 0
 

yes

Definition at line 25 of file WebVttSubtecParser.hpp.


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