| IMediaSamples
|
Module |
|
Header |
/Engine/Source/Runtime/MediaUtils/Public/MediaSamples.h |
Include |
#include "MediaSamples.h" |
class FMediaSamples : public IMediaSamples
General purpose media sample queue.
Name | Description | ||
---|---|---|---|
|
AddAudio ( |
Add the given audio sample to the cache. |
|
|
AddCaption ( |
Add the given caption sample to the cache. |
|
|
AddMetadata ( |
Add the given audio sample to the cache. |
|
|
AddSubtitle ( |
Add the given subtitle sample to the cache. |
|
|
AddVideo ( |
Add the given audio sample to the cache. |
Name | Description | ||
---|---|---|---|
|
CanReceiveAudioSamples ( |
Check if can receive more audio samples |
|
|
CanReceiveVideoSamples ( |
Check if can receive more video samples |
|
|
FetchAudio ( |
Peek next video sample's timestamp |
|
|
EFetchBestSa... |
FetchBestVideoSampleForTimeRange ( |
Fetch video sample best suited for the given time range. |
|
FetchCaption ( |
||
|
FetchCaption ( |
Fetch the next caption sample. |
|
|
FetchMetadata ( |
Fetch the next metadata sample. |
|
|
FetchSubtitle ( |
||
|
FetchSubtitle ( |
Fetch the next subtitle sample. |
|
|
FetchVideo ( |
||
|
FetchVideo ( |
Fetch the next video sample. |
|
|
FlushSamples() |
Discard any outstanding media samples. |
|
|
NumAudio() |
Get the number of queued audio samples. |
|
|
NumCaption() |
Get the number of queued caption samples. |
|
|
NumMetadataSamples() |
Get the number of queued metadata samples. |
|
|
NumSubtitleSamples() |
Get the number of queued subtitle samples. |
|
|
NumVideoSamples() |
Get the number of queued video samples. |
|
|
PeekVideoSampleTime ( |
||
|
PurgeOutdatedVideoSamples ( |
Remove any video samples from the queue that have no chance of being displayed anymore |