Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/FPixelStreamingPeerConnection
References
| Module | PixelStreaming |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingPeerConnection.h |
| Include | #include "PixelStreamingPeerConnection.h" |
| Source | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/PixelStreamingPeerConnection.cpp |
TSharedPtr< FPixelStreamingDataChannel > CreateDataChannel
&40;
int Id,
bool Negotiated
&41;
Remarks
Creates a data connection associated with this peer connection.
Parameters
| Name | Description |
|---|---|
| Id | The channel id to be used. 0 - 1023 |
| Negotiated | Whether the connection is negoriated or not. Id is ignored if Negotiated is false #returns The data channel object created. |