Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Get the timecode from the video track, if one is available. If available, the returned value will be the timecode of the sample most recently sent into the video sink.
Even if timecode is available, the value returned reflects the timecode that most recently delivered to the video sink. During a seek operation the timecode will be unset.
| Name | GetVideoTimecode |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include Path | #include "MediaPlayer.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
TOptional < FTimecode > GetVideoTimecode() const
Most recently delivered video timecode from the video track.