Navigation
API > API/Plugins > API/Plugins/PixelStreaming
| Name | FPixelStreamingVideoSink |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingVideoSink.h |
| Include Path | #include "PixelStreamingVideoSink.h" |
Syntax
class FPixelStreamingVideoSink : public rtc::VideoSinkInterface< webrtc::VideoFrame >
Inheritance Hierarchy
- rtc::VideoSinkInterface< webrtc::VideoFrame > → FPixelStreamingVideoSink
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPixelStreamingVideoSink() |
PixelStreamingVideoSink.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPixelStreamingVideoSink() |
PixelStreamingVideoSink.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | TArray< uint8_t > | PixelStreamingVideoSink.h | ||
| RenderSyncContext | FCriticalSection | PixelStreamingVideoSink.h | ||
| RenderTarget | TRefCountPtr< IPooledRenderTarget > | PixelStreamingVideoSink.h | ||
| RenderTargetDescriptor | FPooledRenderTargetDesc | PixelStreamingVideoSink.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnFrame
(
const webrtc::VideoFrame& Frame |
This method handles the conversion from a WebRTC frame to a UE texture. | PixelStreamingVideoSink.h | |
virtual void OnFrame
(
FTextureRHIRef Frame |
Derivative classes implement this method to handle how the decoded textures should actually be displayed eg PixelStreamingBlueprint/PixelStreamingPeerVideoSink | PixelStreamingVideoSink.h |