Navigation
API > API/Plugins > API/Plugins/RemoteSession > API/Plugins/RemoteSession/FRemoteSessionImageChannel
A helper object responsible to take the raw data, encode it to jpg and send it to the client for the RemoteSessionImageChannel
| Name | FImageSender |
| Type | class |
| Header File | /Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionImageChannel.h |
| Include Path | #include "Channels/RemoteSessionImageChannel.h" |
Syntax
class FImageSender
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageSender
(
TSharedPtr< IBackChannelConnection, ESPMode::ThreadSafe > InConnection |
Channels/RemoteSessionImageChannel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompressQuality | TAtomic< int32 > | Compression quality of the raw image we wish to send to client | Channels/RemoteSessionImageChannel.h | |
| Connection | TWeakPtr< IBackChannelConnection, ESPMode::ThreadSafe > | Underlying connection | Channels/RemoteSessionImageChannel.h | |
| NumSentImages | int32 | Channels/RemoteSessionImageChannel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SendRawImageToClients
(
int32 Width, |
Send an image to the connected clients | Channels/RemoteSessionImageChannel.h | |
void SendRawImageToClients
(
int32 Width, |
Send an image to the connected clients | Channels/RemoteSessionImageChannel.h | |
void SetCompressQuality
(
int32 InQuality |
Set the jpg compression quality | Channels/RemoteSessionImageChannel.h |