FMediaPlayerFacade::SetCacheWindow

Set sample caching options.

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

void SetCacheWindow
(
    FTimespan Ahead,
    FTimespan Behind
)

Remarks

Set sample caching options.

Parameters

Parameter

Description

Ahead

Duration of samples to cache ahead of the play head.

Behind

Duration of samples to cache behind the play head.