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 | PIXELSTREAMING2IPixelStreaming2VideoConsumer |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Core/Public/IPixelStreaming2VideoConsumer.h |
| Include Path | #include "IPixelStreaming2VideoConsumer.h" |
Syntax
class PIXELSTREAMING2IPixelStreaming2VideoConsumer
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConsumeFrame
(
FTextureRHIRef Frame |
Consume a texture as a video frame. | IPixelStreaming2VideoConsumer.h | |
void OnConsumerAdded() |
Called when a video consumer is added. | IPixelStreaming2VideoConsumer.h | |
void OnConsumerRemoved() |
Called when a video consumer is removed. | IPixelStreaming2VideoConsumer.h |