Navigation
API > API/Plugins > API/Plugins/PixelStreaming
Inheritance Hierarchy
- DataChannelObserver
- TSharedFromThis
- FPixelStreamingDataChannel
References
| Module | PixelStreaming |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingDataChannel.h |
| Include | #include "PixelStreamingDataChannel.h" |
Syntax
class FPixelStreamingDataChannel :
public DataChannelObserver,
public TSharedFromThis< FPixelStreamingDataChannel >
Remarks
A specialized representation of a WebRTC data channel for Pixel Streaming.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnClosed | OnClosed | ||
| FOnMessage | OnMessageReceived | ||
| FOnOpen | OnOpen |
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FPixelStreamingDataChannel > | Create
(
rtc::scoped_refptr< webrtc::DataChannelInterface > InChannel |
||
| TSharedPtr< FPixelStreamingDataChannel > | Create
(
FPixelStreamingPeerConnection& Connection, |
||
| void | OnMessage
(
const webrtc::DataBuffer& Buffer |
||
| void | Webrtc::DataChannelObserver implementation. | ||
| bool | SendArbitraryData
(
uint8 Type, |
Sends a large buffer of data to the data channel. | |
| bool | SendMessage
(
uint8 Type, |
Sends a series of arguments to the data channel with the given type. |
Typedefs
| Name | Description |
|---|---|
| FOnClosed | Broadcast when the data channel state changes to closed |
| FOnMessage | Broadcast when data comes in from the data channel. |
| FOnOpen | Broadcast when the data channel state changes to open |