Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/FPixelStreamingPeerConnection
References
| Module | PixelStreaming |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingPeerConnection.h |
| Include | #include "PixelStreamingPeerConnection.h" |
Syntax
enum EReceiveMediaOption
&123;
Nothing = 0x00,
Audio = 0x01,
Video = 0x02,
All = Audio | Video,
&125;
Values
| Name | Description |
|---|---|
| Nothing | Receive no media. |
| Audio | Can receive audio. |
| Video | Can receive video. |
| All | Can receive both audio and video. |
Remarks
Flags for CreateOffer/CreateAnswer that indicate what kind of media we indend to receive. Dictates what the resulting SDP will contain. To actually receive audio or video you will need to supply sinks via SetAudioSink/SetVideoSink