EFeatureFlag

Windows
MacOS
Linux

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaPlayer.h

Include

#include "IMediaPlayer.h"

Syntax

enum EFeatureFlag
{
    AllowShutdownOnClose             = 0,
    UsePlaybackTimingV2,
    UseRealtimeWithVideoOnly,
    AlwaysPullNewestVideoFrame,
    PlayerUsesInternalFlushOnSeek,
}

Values

Name

Description

AllowShutdownOnClose

Allow player to be shutdown right after 'close' event is received from it.

UsePlaybackTimingV2

Use v2 playback timing and AV sync.

UseRealtimeWithVideoOnly

Use realtime rather then game deltatime to control video playback if no audio is present.

AlwaysPullNewestVideoFrame

Mediaframework will not gate video frame output with its own timing, but assumes "ASAP" as output time for every sample.

PlayerUsesInternalFlushOnSeek

The player implements an internal flush logic on seeks and Mediaframework will not issue an explicit Flush() call to it on seeks.

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