Navigation
API > API/Plugins > API/Plugins/PixelStreaming2
References
| Module | PixelStreaming2 |
| Header | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2/Public/IPixelStreaming2VideoProducer.h |
| Include | #include "IPixelStreaming2VideoProducer.h" |
Syntax
class IPixelStreaming2VideoProducer
Remarks
A "Video Producer" is an object that you use to push video frames into the Pixel Streaming system.
Example usage:
(1) Each new frame you want to push you call `MyVideoProducer->PushFrame(MyFrame)_
Note: Your frame is likely a [FPixelCaptureInputFrameRHI](API\Plugins\PixelCapture\FPixelCaptureInputFrameRHI)_ if the frame is a GPU texture or a FPixelCaptureInputFrameI420 or `FPixelCaptureInputFrameNV12 if your frame is from the CPU.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PushFrame
(
const IPixelCaptureInputFrame& InputFrame |
Pushes a raw video frame into the Pixel Streaming system. | |
| FString | ToString () |
A human readable identifier used when displaying what the streamer is streaming in the toolbar |