UMediaPlayer::GetVideoTrackType

Get the type of the specified video track format.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

FString GetVideoTrackType
(
    int32 TrackIndex,
    int32 FormatIndex
) const

Remarks

Get the type of the specified video track format.

Returns

Video format type string.

Parameters

Parameter

Description

TrackIndex

The index of the track, or INDEX_NONE for the selected one.

FormatIndex

Index of the track format, or INDEX_NONE for the selected one.

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