|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
27 #ifndef __WEBVTT_PARSER_H__
28 #define __WEBVTT_PARSER_H__
63 virtual bool init(
double startPosSeconds,
unsigned long long basePTS);
64 virtual bool processData(
char *buffer,
size_t bufferLen,
double position,
double duration);
67 virtual void setProgressEventOffset(
double offset) {
mProgressOffset = offset; }
69 virtual void addCueData(
VTTCue *cue);
70 virtual void sendCueData();
71 virtual void updateTimestamp(
unsigned long long positionMs) {}
This file provides interfaces for a subtitle parser in AAMP.
Provides data structure to hold a WebVTT cue data.
pthread_mutex_t mVttQueueMutex
unsigned long long mPtsOffset
unsigned long long mStartPTS
SubtitleMimeType
Subtitle data types.
Data structure to hold a VTT cue.
Class representing the AAMP player's private instance, which is not exposed to outside world.
guint mVttQueueIdleTaskId
Hold timestamps of a cue.
std::queue< VTTCue * > mVttQueue