Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Core
An "Video Consumer" is an object that is responsible for outputting the video received from a peer. For example, by rendering to a render target.
| Name | IPixelStreaming2VideoConsumer |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Core/Public/IPixelStreaming2VideoConsumer.h |
| Include Path | #include "IPixelStreaming2VideoConsumer.h" |
Syntax
class IPixelStreaming2VideoConsumer
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConsumeFrame
(
FTextureRHIRef Frame |
Consume a texture as a video frame. | IPixelStreaming2VideoConsumer.h | |
virtual void OnConsumerAdded() |
IPixelStreaming2VideoConsumer.h | ||
virtual void OnConsumerRemoved() |
IPixelStreaming2VideoConsumer.h | ||
void OnVideoConsumerAdded() |
Called when a video consumer is added. | IPixelStreaming2VideoConsumer.h | |
void OnVideoConsumerRemoved() |
Called when a video consumer is removed. | IPixelStreaming2VideoConsumer.h |