Navigation
Unreal Engine C++ API Reference > Runtime > Media
Inheritance Hierarchy
- IMediaTracks
- FMediaIOCorePlayerBase
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaTracks.h |
Include | #include "IMediaTracks.h" |
Syntax
class IMediaTracks
Remarks
Interface for access to a media player's tracks.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | GetAudioTrackFormat
(
int32 TrackIndex, |
Get details about the specified audio track format. |
![]() ![]() |
int32 | GetNumTrackFormats
(
EMediaTrackType TrackType, |
Get the number of formats of the specified track. |
![]() ![]() |
int32 | GetNumTracks
(
EMediaTrackType TrackType |
Get the number of media tracks of the given type. |
![]() ![]() |
int32 | GetSelectedTrack
(
EMediaTrackType TrackType |
Get the index of the currently selected track of the given type. |
![]() ![]() |
FText | GetTrackDisplayName
(
EMediaTrackType TrackType, |
Get the human readable name of the specified track. |
![]() ![]() |
int32 | GetTrackFormat
(
EMediaTrackType TrackType, |
Get the index of the currently selected format of the given track type. |
![]() ![]() |
FString | GetTrackLanguage
(
EMediaTrackType TrackType, |
Get the language tag of the specified track. |
![]() ![]() |
FString | GetTrackName
(
EMediaTrackType TrackType, |
Get the internal name of the specified track. |
![]() ![]() |
bool | GetVideoTrackFormat
(
int32 TrackIndex, |
Get details about the specified video track format. |
![]() |
bool | SelectTrack
(
EMediaTrackType TrackType, |
Select the active track of the given type. |
![]() |
bool | SetTrackFormat
(
EMediaTrackType TrackType, |
Select the active format on the specified track. |
![]() ![]() |
bool | SetVideoTrackFrameRate
(
int32 TrackIndex, |
Set the frame rate of the specified video track. |