RDK Documentation (Open Sourced RDK Components)
|
Public Member Functions | |
WebVTTSubtecParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type) | |
WebVTTSubtecParser (const WebVTTSubtecParser &)=delete | |
WebVTTSubtecParser & | operator= (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. | |
SubtitleParser & | operator= (const SubtitleParser &)=delete |
Assignment operator Overloading. | |
virtual void | isLinear (bool isLinear) |
Protected Attributes | |
std::unique_ptr< SubtecChannel > | m_channel |
Protected Attributes inherited from SubtitleParser | |
SubtitleMimeType | mType |
PrivateInstanceAAMP * | mAamp |
AampLogManager * | mLogObj |
Private Attributes | |
std::uint64_t | time_offset_ms_ = 0 |
std::uint64_t | start_ms_ = 0 |
Definition at line 25 of file WebVttSubtecParser.hpp.