TMediaSampleSink

Interface for media sample sinks. This interface declares the write side of media sample queues.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TMediaSampleSink

FMediaAudioSampleSink

References

Module

MediaUtils

Header

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

Include

#include "MediaSampleSink.h"

Syntax

template<typename SampleType>
class TMediaSampleSink

Remarks

Interface for media sample sinks.

This interface declares the write side of media sample queues.

Destructors

Name Description

Public function Virtual

~TMediaSampleSink()

Virtual destructor.

Functions

Name Description

Public function

bool

 

Enqueue

(
    const TSharedRef< SampleType, ESPMo...
)

Add a sample to the head of the queue.

Public function Const

int32

 

Num()

Get the number of samples in the queue.

Public function

void

 

RequestFlush()

Request to flush the queue.

@note To be called only from producer thread.

See Also