Navigation
API > API/Plugins > API/Plugins/PixelStreamingPlayer
A blueprint representation of a Pixel Streaming Peer Connection. Should communicate with a Pixel Streaming Signalling Connection and will accept video sinks to receive video data.
| Name | UPixelStreamingPeerComponent |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PixelStreamingPlayer/Source/PixelStreamingPlayer/Public/PixelStreamingPeerComponent.h |
| Include Path | #include "PixelStreamingPeerComponent.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Category="PixelStreaming",
Meta=(DisplayName="PixelStreaming Peer Component", BlueprintSpawnableComponent))
class UPixelStreamingPeerComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UPixelStreamingPeerComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPixelStreamingPeerComponent
(
const FObjectInitializer& ObjectInitializer |
PixelStreamingPeerComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnIceCandidate | FPixelStreamingOnIceCandidate | Once negotiation is completed the Peer Connection can generate Ice Candidate objects. | PixelStreamingPeerComponent.h |
|
| OnIceConnection | FPixelStreamingOnIceConnection | Once a connection has been connected and streaming should be available. | PixelStreamingPeerComponent.h |
|
| OnIceDisconnection | FPixelStreamingOnIceDisconnection | When an ice connection is lost. | PixelStreamingPeerComponent.h |
|
| VideoSink | TObjectPtr< UPixelStreamingMediaTexture > | A sink for the video data received once this connection has finished negotiating. | PixelStreamingPeerComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PeerConnection | TUniquePtr< FPixelStreamingPeerConnection > | PixelStreamingPeerComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPixelStreamingSessionDescriptionWrapper CreateAnswer
(
const FString& Offer |
Creates an answer to the given offer objet that was provided. | PixelStreamingPeerComponent.h |
|
FPixelStreamingSessionDescriptionWrapper CreateOffer() |
Creates an offer. | PixelStreamingPeerComponent.h |
|
void ReceiveAnswer
(
const FString& Offer |
Receives an answer from a streamer after we've sent an offer to receive. | PixelStreamingPeerComponent.h |
|
void ReceiveIceCandidate
(
const FPixelStreamingIceCandidateWrapper& Candidate |
Notify the peer connection of an ICE candidate sent by the singalling connection. | PixelStreamingPeerComponent.h |
|
void SetConfig
(
const FPixelStreamingRTCConfigWrapper& Config |
Sets the RTC Configuration for this Peer Connection. | PixelStreamingPeerComponent.h |
|