FMediaPlayerFacade::GetTrackFormat

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss