Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/FPixelStreamingPeerConnection
Description
Sets the callback to be used when the stats collector comes knocking. Decides how stats should be collected.
| Name | SetWebRTCStatsCallback |
| Type | function |
| Header File | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingPeerConnection.h |
| Include Path | #include "PixelStreamingPeerConnection.h" |
| Source | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/PixelStreamingPeerConnection.cpp |
void SetWebRTCStatsCallback
(
rtc::scoped_refptr< webrtc::RTCStatsCollectorCallback > InCallback
)
Parameters
| Name | Remarks |
|---|---|
| InCallback | The callback object. |