Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaSamples > API/Runtime/Media/IMediaSamples/FetchVideo
References
| Module | Media |
| Header | /Engine/Source/Runtime/Media/Public/IMediaSamples.h |
| Include | #include "IMediaSamples.h" |
virtual bool FetchVideo
(
TRange < FTimespan > TimeRange,
TSharedPtr < IMediaTextureSample , ESPMode::ThreadSafe > & OutSample
)
Remarks
Fetch the next video sample. true if the returned sample is valid, false otherwise.
Parameters
| Name | Description |
|---|---|
| TimeRange | The range of present times that the sample is allowed to have. |
| OutSample | Will contain the sample if the queue is not empty. |