Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/FPixelStreamingPeerConnection
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
| Name | EReceiveMediaOption |
| Type | enum |
| Header File | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingPeerConnection.h |
| Include Path | #include "PixelStreamingPeerConnection.h" |
Syntax
enum EReceiveMediaOption
{
Nothing = 0x00,
Audio = 0x01,
Video = 0x02,
All = Audio | Video,
}
Values
| Name | Remarks |
|---|---|
| Nothing | Receive no media. |
| Audio | Can receive audio. |
| Video | Can receive video. |
| All | Can receive both audio and video. |