Navigation
API > API/Plugins > API/Plugins/TmvMedia > API/Plugins/TmvMedia/ITmvMediaDemuxer
Description
Seek to a keyframe at or before the given time. After seeking, the next ReadSample call will return the keyframe sample.
| Name | Seek |
| Type | function |
| Header File | /Engine/Plugins/Media/TmvMedia/Source/TmvMedia/Public/Decoder/ITmvMediaDemuxer.h |
| Include Path | #include "Decoder/ITmvMediaDemuxer.h" |
ETmvMediaContainerResult Seek
(
int32 InTrackIndex,
FTimespan InTime,
FTimespan InLaterTimeThreshold
)
Success if a valid seek point was found.
Parameters
| Name | Remarks |
|---|---|
| InTrackIndex | Track index. |
| InTime | Target time. |
| InLaterTimeThreshold | If a keyframe is found within this threshold after InTime, prefer it. |