FImageSender

A helper object responsible to take the raw data, encode it to jpg and send it to the client for the RemoteSessionImageChannel

Windows
MacOS
Linux

References

Module

RemoteSession

Header

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionImageChannel.h

Include

#include "Channels/RemoteSessionImageChannel.h"

Syntax

class FImageSender

Remarks

A helper object responsible to take the raw data, encode it to jpg and send it to the client for the RemoteSessionImageChannel

Constructors

Name Description

Public function

FImageSender

Functions

Name Description

Public function

void

 

SendRawImageToClients

(
    int32 Width,
    int32 Height,
    const TArray< FColor >& ImageData
)

Send an image to the connected clients

Public function

void

 

SendRawImageToClients

(
    int32 Width,
    int32 Height,
    const void* ImageData,
    int32 AllocatedImageDataSize
)

Send an image to the connected clients

Public function

void

 

SetCompressQuality

(
    int32 InQuality
)

Set the jpg compression quality

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