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