Module |
|
Header |
/Engine/Source/Runtime/MediaUtils/Public/MediaSampleSinks.h |
Include |
#include "MediaSampleSinks.h" |
bool Enqueue
(
const TSharedRef< SampleType, ESPMode::ThreadSafe > & Sample,
int32 MaxDepth
)
Enqueue the given media samples to the registered sinks.
This method will also remove expired sinks that haven't been removed yet.
true if the sample was enqueued to all sinks, false if one or more sinks overflowed.
Parameter |
Description |
---|---|
Sample |
The media sample to enqueue. |
MaxQueueDepth |
The maximum depth of the sink queues before overflow. |