FRealTimeCaptureStrategy

A capture strategy that captures in real-time, potentially dropping frames to maintain a stable constant framerate video.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

ICaptureStrategy

FRealTimeCaptureStrategy

References

Module

MovieSceneCapture

Header

/Engine/Source/Runtime/MovieSceneCapture/Public/MovieSceneCapture.h

Include

#include "MovieSceneCapture.h"

Syntax

struct FRealTimeCaptureStrategy : public ICaptureStrategy

Remarks

A capture strategy that captures in real-time, potentially dropping frames to maintain a stable constant framerate video.

Constructors

Name Description

Public function

FRealTimeCaptureStrategy

(
    FFrameRate InFrameRate
)

Overridden from ICaptureStrategy

Name Description

Public function Virtual Const

int32

 

GetDroppedFrames

(
    double CurrentTimeSeconds,
    uint32 FrameIndex
)

Public function Virtual

void

 

OnInitialize()

Public function Virtual

void

 

OnStop()

Public function Virtual Const

bool

 

ShouldPresent

(
    double CurrentTimeSeconds,
    uint32 FrameIndex
)

Public function Virtual Const

bool

 

ShouldSynchronizeFrames()