FMediaPlayerFacade::GetTrackFormat

Get the index of the active format of the specified track.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

int32 GetTrackFormat
(
    EMediaTrackType TrackType,
    int32 TrackIndex
) const

Remarks

Get the index of the active format of the specified track.

Returns

The index of the selected format.

Parameters

Parameter

Description

TrackType

The type of track.

TrackIndex

The index of the track.

See Also