| IRemoteSessionChannel | ||
| FRunnable
|
Module |
|
Header |
/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionImageChannel.h |
Include |
#include "Channels/RemoteSessionImageChannel.h" |
class FRemoteSessionImageChannel :
public IRemoteSessionChannel,
private FRunnable
A channel that takes an image (created by an IRemoteSessionImageProvider), then sends it to the client (with a FRemoteSessionImageSender). On the client images are decoded into a double-buffered texture that can be accessed via GetHostScreen.
Name | Description | ||
---|---|---|---|
|
BackgroundThread |
||
|
TWeakPtr< FBack... |
Connection |
Underlying connection |
|
DecodedImageMutex |
||
|
TSharedPtr< TAt... |
DecodedTextureIndex |
|
|
UTexture2D *... |
DecodedTextures |
|
|
ExitRequested |
||
|
TSharedPtr< IRe... |
ImageProvider |
|
|
TSharedPtr< FIm... |
ImageSender |
Image sender used by the channel |
|
IncomingDecodedImages |
||
|
IncomingEncodedImages |
||
|
IncomingImageMutex |
||
|
LastDecodedImageIndex |
Last processed decode image |
|
|
LastIncomingImageIndex |
Last processed incoming image |
|
|
MessageCallbackHandle |
So we can manage callback lifetimes properly |
|
|
Role |
Our role |
|
|
FEvent * |
ScreenshotEvent |
Name | Description | |
---|---|---|
|
FRemoteSessionImageChannel ( |
Name | Description | |
---|---|---|
|
~FRemoteSessionImageChannel() |
Name | Description | ||
---|---|---|---|
|
CreateTexture |
Creates a texture to receive images into |
|
|
ExitBackgroundThread() |
||
|
UTexture2D &... |
GetHostScreen() |
Get the client Texture2D to display |
|
TSharedPtr< ... |
GetImageSender() |
Return the image sender connected to the clients |
|
ProcessIncomingTextures() |
Decode the incoming images on a dedicated thread |
|
|
ReceiveHostImage ( |
Bound to receive incoming images |
|
|
SetCompressQuality ( |
Set the jpg compression quality |
|
|
SetImageProvider |
Set the ImageProvider that will produce the images that will be sent to the client |
|
|
StartBackgroundThread() |
||
|
const TCHAR ... |
StaticType() |
Begin IRemoteSessionChannel implementation |
Name |
Description |
|
---|---|---|
|
FImageData |
|
|
FImageSender |
A helper object responsible to take the raw data, encode it to jpg and send it to the client for the RemoteSessionImageChannel |