TMediaSampleSinks::Enqueue

Enqueue the given media samples to the registered sinks.

Windows
MacOS
Linux

References

Module

MediaUtils

Header

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

Include

#include "MediaSampleSinks.h"

Syntax

bool Enqueue
(
    const TSharedRef< SampleType, ESPMode::ThreadSafe > & Sample,
    int32 MaxDepth
)

Remarks

Enqueue the given media samples to the registered sinks.

This method will also remove expired sinks that haven't been removed yet.

Returns

true if the sample was enqueued to all sinks, false if one or more sinks overflowed.

Parameters

Parameter

Description

Sample

The media sample to enqueue.

MaxQueueDepth

The maximum depth of the sink queues before overflow.

See Also

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