TMediaSampleSource::Peek

Peek at the next sample in the queue without removing it.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

MediaUtils

Header

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

Include

#include "MediaSampleSource.h"

Syntax

bool Peek
(
    TSharedPtr< SampleType, ESPMode::ThreadSafe > & OutSample
)

Remarks

Peek at the next sample in the queue without removing it.

Returns

true if a sample has been returned, false if the queue was empty.

Parameters

Parameter

Description

OutSample

Will contain the sample if the queue is not empty.

See Also