Navigation
API > API/Plugins > API/Plugins/ElectraSubtitles
Base class of a subtitle decoder.
| Name | IElectraSubtitleDecoder |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraSubtitles/Source/ElectraSubtitles/Public/IElectraSubtitleDecoder.h |
| Include Path | #include "IElectraSubtitleDecoder.h" |
Syntax
class IElectraSubtitleDecoder
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IElectraSubtitleDecoder() |
IElectraSubtitleDecoder.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnSubtitleReceivedDelegate | TMulticastDelegate_OneParam< void, ISubtitleDecoderOutputPtr > | Delegate to which the application can subscribe to receive parsed subtitles. | IElectraSubtitleDecoder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddStreamedSubtitleData
(
const TArray< uint8 >& InData, |
Adds streamed subtitle data. | IElectraSubtitleDecoder.h | |
void Flush() |
Flushes all input and output. | IElectraSubtitleDecoder.h | |
FOnSubtitleReceivedDelegate & GetParsedSubtitleReceiveDelegate() |
IElectraSubtitleDecoder.h | ||
Electra::FTimeValue GetStreamedDeliveryTimeOffset () |
Data handling methods | IElectraSubtitleDecoder.h | |
bool InitializeStreamWithCSD
(
const TArray< uint8 >& InCSD, |
Initialization methodsInitializes with codec specific data and additional attributes. | IElectraSubtitleDecoder.h | |
void SignalStreamedSubtitleEOD() |
Signals no more streamed subtitles will be arriving. | IElectraSubtitleDecoder.h | |
void Start() |
Handling methods | IElectraSubtitleDecoder.h | |
void Stop() |
IElectraSubtitleDecoder.h | ||
void UpdatePlaybackPosition
(
Electra::FTimeValue InAbsolutePosition, |
IElectraSubtitleDecoder.h |