FRemoteSessionFrameBufferImageProvider

Use the FrameGrabber on the host to provide an image to the image channel.

Windows
MacOS
Linux

Inheritance Hierarchy

IRemoteSessionImageProvider

FRemoteSessionFrameBufferImageProvider

References

Module

RemoteSession

Header

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/ImageProviders/RemoteSessionFrameBufferImageProvider.h

Include

#include "ImageProviders/RemoteSessionFrameBufferImageProvider.h"

Syntax

class FRemoteSessionFrameBufferImageProvider : public IRemoteSessionImageProvider

Remarks

Use the FrameGrabber on the host to provide an image to the image channel.

Variables

Name Description

Protected variable

FRemoteSesstion...

 

CaptureStats

Protected variable

TSharedPtr< FFr...

 

FrameGrabber

Protected variable

TWeakPtr< FRemo...

 

ImageSender

Protected variable

double

 

LastSentImageTime

Time we last sent an image

Protected variable

TSharedPtr< FTh...

 

NumDecodingTasks

Protected variable

TWeakPtr< FScen...

 

SceneViewport

Holds a reference to the scene viewport

Protected variable

TWeakPtr< SWind...

 

SceneViewportWindow

Holds a reference to the SceneViewport SWindow

Protected variable

bool

 

ViewportResized

Shows that the viewport was just resized

Constructors

Destructors

Functions

Name Description

Protected function

void

 

CreateFrameGrabber

(
    TSharedRef< FSceneViewport > Viewpo...
)

Safely create the frame grabber

Public function

void

 

OnViewportResized

(
    FVector2D NewSize
)

Signals that the viewport was resized

Protected function

void

 

OnWindowClosedEvent

(
    const TSharedRef< SWindow >&
)

When the window is destroyed

Protected function

void

 

ReleaseFrameGrabber()

Release the FrameGrabber

Public function

void

 

SetCaptureFrameRate

(
    int32 InFramerate
)

Specifies the framerate at

Public function

void

 

SetCaptureViewport

(
    TSharedRef< FSceneViewport > Viewpo...
)

Specifies which viewport to capture

Overridden from IRemoteSessionImageProvider

Name Description

Public function Virtual

void

 

Tick

(
    const float InDeltaTime
)

Tick this channel

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss