FMediaSamples::FetchBestVideoSampleForTimeRange

Fetch video sample best suited for the given time range.

Windows
MacOS
Linux

Override Hierarchy

IMediaSamples::FetchBestVideoSampleForTimeRange()

FMediaSamples::FetchBestVideoSampleForTimeRange()

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaSamples.h

Include

#include "MediaSamples.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaSamples.cpp

Syntax

virtual EFetchBestSampleResult FetchBestVideoSampleForTimeRange
(
    const TRange< FMediaTimeStamp > & TimeRange,
    TSharedPtr< IMediaTextureSample, ESPMode::ThreadSafe > & OutSample,
    bool bReverse
)

Remarks

Fetch video sample best suited for the given time range. Samples prior to the selected one will be removed from the queue.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss