Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Core
A "Audio Producer" is an object that you use to push audio frames into the Pixel Streaming system.
Example usage:
(1) Each new frame you want to push you call `MyAudioProducer->PushFrame(Buffer, NumSamples, NumChannels, SampleRate)_
Note: Any audio you push in with `PushAudio_ will be mixed with other audio producers before being streamed
| Name | IPixelStreaming2AudioProducer |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Core/Public/IPixelStreaming2AudioProducer.h |
| Include Path | #include "IPixelStreaming2AudioProducer.h" |
Syntax
class IPixelStreaming2AudioProducer
Classes
| Name | Remarks |
|---|---|
| FOnAudioPushed | Event triggered when a frame is pushed to the audio producer. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnAudioPushed | FOnAudioPushed | IPixelStreaming2AudioProducer.h |