Navigation
API > API/Plugins > API/Plugins/PixelStreaming2
Pixel Streaming Delegates that can be invoked when pixel streaming events take place. Includes blueprint and native c++ delegates.
| Name | UPixelStreaming2Delegates |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2/Public/PixelStreaming2Delegates.h |
| Include Path | #include "PixelStreaming2Delegates.h" |
Syntax
UCLASS (MinimalAPI)
class UPixelStreaming2Delegates : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPixelStreaming2Delegates
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UPixelStreaming2Delegates() |
PixelStreaming2Delegates.h |
Classes
| Name | Remarks |
|---|---|
| FAllConnectionsClosed | Blueprint delegate type for when all connections have closed and nobody is viewing or interacting with the app. |
| FClosedConnection | Blueprint delegate type for when a connection to a player was lost. |
| FConnectedToSignallingServer | Blueprint delegate type for when a connection to the signalling server was made. |
| FDataTrackClosed | Blueprint delegate type for when an existing data track has been closed. |
| FDataTrackOpen | Blueprint delegate type for when a new data track has been opened. |
| FDisconnectedFromSignallingServer | Blueprint delegate type for when a connection to the signalling server was lost. |
| FFallbackToSoftwareEncoding | Blueprint delegate type for when the GPU ran out of available hardware encoders and fell back to software encoders. |
| FNewConnection | Blueprint delegate type for when a new connection has been made to the session. |
| FStatsChanged | Blueprint delegate type for when a pixel streaming stat has changed. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Singleton | UPixelStreaming2Delegates * | The singleton object. | PixelStreaming2Delegates.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnAllConnectionsClosed | FAllConnectionsClosed | Invoked when all connections have closed and nobody is viewing or interacting with the app. | PixelStreaming2Delegates.h |
|
| OnAllConnectionsClosedNative | FAllConnectionsClosedNative | Invoked when all connections have closed and nobody is viewing or interacting with the app. | PixelStreaming2Delegates.h | |
| OnAudioTrackClosedNative | FAudioTrackClosedNative | Invoked when an existing audio track has been closed. | PixelStreaming2Delegates.h | |
| OnAudioTrackOpenNative | FAudioTrackOpenNative | Invoked when a new audio track has been opened. | PixelStreaming2Delegates.h | |
| OnClosedConnection | FClosedConnection | Invoked when a connection to a player was lost. | PixelStreaming2Delegates.h |
|
| OnClosedConnectionNative | FClosedConnectionNative | Invoked when a connection to a player was lost. | PixelStreaming2Delegates.h | |
| OnConnectedToSignallingServer | FConnectedToSignallingServer | Invoked when a connection to the signalling server was made. | PixelStreaming2Delegates.h |
|
| OnConnectedToSignallingServerNative | FConnectedToSignallingServerNative | Invoked when a connection to the signalling server was made. | PixelStreaming2Delegates.h | |
| OnDataTrackClosed | FDataTrackClosed | Invoked when an existing data track has been closed. | PixelStreaming2Delegates.h |
|
| OnDataTrackClosedNative | FDataTrackClosedNative | Invoked when an existing data track has been closed. | PixelStreaming2Delegates.h | |
| OnDataTrackOpen | FDataTrackOpen | Invoked when a new data track has been opened. | PixelStreaming2Delegates.h |
|
| OnDataTrackOpenNative | FDataTrackOpenNative | Invoked when a new data track has been opened. | PixelStreaming2Delegates.h | |
| OnDisconnectedFromSignallingServer | FDisconnectedFromSignallingServer | Invoked when a connection to the signalling server was lost. | PixelStreaming2Delegates.h |
|
| OnDisconnectedFromSignallingServerNative | FDisconnectedFromSignallingServerNative | Invoked when a connection to the signalling server was lost. | PixelStreaming2Delegates.h | |
| OnFallbackToSoftwareEncoding | FFallbackToSoftwareEncoding | Invoked when the GPU ran out of available hardware encoders and fell back to software encoders. | PixelStreaming2Delegates.h |
|
| OnFallbackToSoftwareEncodingNative | FFallbackToSoftwareEncodingNative | Invoked when the GPU ran out of available hardware encoders and fell back to software encoders. | PixelStreaming2Delegates.h | |
| OnNewConnection | FNewConnection | Invoked when a new connection has been made to the session. | PixelStreaming2Delegates.h |
|
| OnNewConnectionNative | FNewConnectionNative | Invoked when a new connection has been made to the session. | PixelStreaming2Delegates.h | |
| OnStatChanged | FStatsChanged | Invoked when a pixel streaming stat has changed. | PixelStreaming2Delegates.h |
|
| OnStatChangedNative | FStatChangedNative | Invoked when a pixel streaming stat has changed. | PixelStreaming2Delegates.h | |
| OnVideoTrackClosedNative | FVideoTrackClosedNative | Invoked when an existing video track has been closed. | PixelStreaming2Delegates.h | |
| OnVideoTrackOpenNative | FVideoTrackOpenNative | Invoked when a new video track has been opened. | PixelStreaming2Delegates.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DECLARE_TS_MULTICAST_DELEGATE
(
FFallbackToSoftwareEncodingNative |
Delegate type for when the GPU ran out of available hardware encoders and fell back to software encoders. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_OneParam
(
FConnectedToSignallingServerNative, |
Delegate type for when a connection to the signalling server was made. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_OneParam
(
FDisconnectedFromSignallingServerNative, |
Delegate type for when a connection to the signalling server was lost. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_OneParam
(
FAllConnectionsClosedNative, |
Delegate type for when all connections have closed and nobody is viewing or interacting with the app. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FVideoTrackOpenNative, |
Delegate type for when a new video track has been opened. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FVideoTrackClosedNative, |
Delegate type for when an existing video track has been closed. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FAudioTrackOpenNative, |
Delegate type for when a new audio track has been opened. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FAudioTrackClosedNative, |
Delegate type for when an existing audio track has been closed. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_ThreeParams
(
FStatChangedNative, |
Delegate type for when a pixel streaming stat has changed. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FNewConnectionNative, |
Delegate type for when a new connection has been made to the session. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FClosedConnectionNative, |
Delegate type for when a connection to a player was lost. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FDataTrackOpenNative, |
Delegate type for when a new data track has been opened. | PixelStreaming2Delegates.h | |
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FDataTrackClosedNative, |
Delegate type for when an existing data track has been closed. | PixelStreaming2Delegates.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UPixelStreaming2Delegates * Get() |
PixelStreaming2Delegates.h |