Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaPlayer
| |
|
| Name |
EFeatureFlag |
| Type |
enum |
| Header File |
/Engine/Source/Runtime/Media/Public/IMediaPlayer.h |
| Include Path |
#include "IMediaPlayer.h" |
Syntax
enum EFeatureFlag
{
AllowShutdownOnClose = 0,
UsePlaybackTimingV2,
UseRealtimeWithVideoOnly,
AlwaysPullNewestVideoFrame,
PlayerUsesInternalFlushOnSeek,
IsTrackSwitchSeamless,
PlayerSelectsDefaultTracks,
}
Values
| Name |
Remarks |
| 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. |
| IsTrackSwitchSeamless |
If track switching is seamless then a flush of sinks is not necessary. |
| PlayerSelectsDefaultTracks |
Whether or not the player selects suitable track defaults. |