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 |
static TUniquePtr< FPixelStreamingPeerConnection > Create
&40;
const FRTCConfig & RTCConfig,
bool IsSFU
&41;
Remarks
Creates a new peer connection using the given RTC configuration. A new peer connection ready to be used.
Parameters
| Name | Description |
|---|---|
| Config | The RTC configuration for the connection. Usually provided from the signalling server. |
| IsSFU | Set to true to create a peer connection to an SFU. Controls whether it recieves simulcast and some audio settings are affected. |