Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Core
Interface for a sink that collects video coming in from the browser and passes into into UE.
| Name | IPixelStreaming2VideoSink |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Core/Public/IPixelStreaming2VideoSink.h |
| Include Path | #include "IPixelStreaming2VideoSink.h" |
Syntax
class IPixelStreaming2VideoSink
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddVideoConsumer
(
IPixelStreaming2VideoConsumer* VideoConsumer |
Add a video consumer to the sink. | IPixelStreaming2VideoSink.h | |
void AddVideoConsumer
(
const TWeakPtrVariant< IPixelStreaming2VideoConsumer >& VideoConsumer |
Add a video consumer to the sink. | IPixelStreaming2VideoSink.h | |
virtual void RemoveVideoConsumer
(
IPixelStreaming2VideoConsumer* VideoConsumer |
Remove a video consumer to remove from the sink. | IPixelStreaming2VideoSink.h | |
void RemoveVideoConsumer
(
const TWeakPtrVariant< IPixelStreaming2VideoConsumer >& VideoConsumer |
Remove a video consumer to remove from the sink. | IPixelStreaming2VideoSink.h |