IMediaSamples

Inheritance Hierarchy

Syntax

class IMediaSamples

Remarks

Interface for access to a media player's sample queue.

Destructors

Name Description

Public function Virtual

~IMediaSamples()

Virtual destructor.

Functions

Name Description

Public function Virtual

bool

 

FetchAudio

(
    TRange < FTimespan > TimeRange,
    TSharedPtr < IMediaAudioSample , ESPM ...
)

Fetch the next audio sample.

Public function Virtual

bool

 

FetchCaption

(
    TRange < FTimespan > TimeRange,
    TSharedPtr < IMediaOverlaySample , ES ...
)

Fetch the next caption sample.

Public function Virtual

bool

 

FetchMetadata

(
    TRange < FTimespan > TimeRange,
    TSharedPtr < IMediaBinarySample , ESP ...
)

Fetch the next metadata sample.

Public function Virtual

bool

 

FetchSubtitle

(
    TRange < FTimespan > TimeRange,
    TSharedPtr < IMediaOverlaySample , ES ...
)

Fetch the next subtitle sample.

Public function Virtual

bool

 

FetchVideo

(
    TRange < FTimespan > TimeRange,
    TSharedPtr < IMediaTextureSample , ES ...
)

Fetch the next video sample.

Public function Virtual

void

 

FlushSamples()

Discard any outstanding media samples.

See Also

References

Module

Media

Header

Runtime/Media/Public/IMediaSamples.h