TMediaSampleQueue::Peek

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

TMediaSampleSource::Peek()

TMediaSampleQueue::Peek()

References

Module

MediaUtils

Header

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

Include

#include "MediaSampleQueue.h"

Syntax

virtual 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