Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaPlayer
References
| Module | Media |
| Header | /Engine/Source/Runtime/Media/Public/IMediaPlayer.h |
| Include | #include "IMediaPlayer.h" |
Syntax
enum EFeatureFlag
&123;
AllowShutdownOnClose = 0,
UsePlaybackTimingV2,
UseRealtimeWithVideoOnly,
AlwaysPullNewestVideoFrame,
PlayerUsesInternalFlushOnSeek,
IsTrackSwitchSeamless,
&125;
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. |
| IsTrackSwitchSeamless | If track switching is seamless then a flush of sinks is not necessary. |