Navigation
API > API/Plugins > API/Plugins/PixelStreamingPlayer
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UPixelStreamingSignallingComponent
References
| Module | PixelStreamingPlayer |
| Header | /Engine/Plugins/Experimental/PixelStreamingPlayer/Source/PixelStreamingPlayer/Public/PixelStreamingSignallingComponent.h |
| Include | #include "PixelStreamingSignallingComponent.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Category="PixelStreaming",
Meta=(DisplayName="PixelStreaming Signalling Component", BlueprintSpawnableComponent))
class UPixelStreamingSignallingComponent : public UActorComponent
Remarks
A blueprint class representing a Pixel Streaming Signalling connection. Used to communicate with the signalling server and should route information to the peer connection.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UStreamMediaSource > | MediaSource | If this media source is set we will use its supplied URL instead of the Url parameter on the connect call. | |
| FPixelStreamingSignallingComponentAnswer | OnAnswer | Fired when the connection receives an answer from the server. | |
| FPixelStreamingSignallingComponentConfig | OnConfig | Fired when the connection receives a config message from the server. | |
| FPixelStreamingSignallingComponentConnected | OnConnected | Fired when the signalling connection is successfully established. | |
| FPixelStreamingSignallingComponentConnectionError | OnConnectionError | Fired if the connection failed or an error occurs during the connection. | |
| FPixelStreamingSignallingComponentDisconnected | OnDisconnected | Fired when the connection successfully closes. | |
| FPixelStreamingSignallingComponentIceCandidate | OnIceCandidate | Fired when the server sends through an ice candidate. | |
| FPixelStreamingSignallingComponentOffer | OnOffer | Fired when the connection receives an offer from the server. | |
| TFunction< void(const TArray< FString > &)> | OnStreamerListCallback |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPixelStreamingSignallingComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AsyncRequestStreamerList
(
const TFunction< void(const TArray< FString >&)>& Callback |
Used by the async bp node. | |
| void | Attempt to connect to a specified signalling server. | ||
| void | Disconnect () |
Disconnect from the signalling server. No action if no connection exists. | |
| void | SendAnswer
(
const FPixelStreamingSessionDescriptionWrapper& Answer |
Send an answer created from a Peer Connection to the signalling server. | |
| void | SendIceCandidate
(
const FPixelStreamingIceCandidateWrapper& CandidateWrapper |
Send an Ice Candidate to the signalling server that is generated from a Peer Connection. | |
| void | SendOffer
(
const FPixelStreamingSessionDescriptionWrapper& Offer |
Send an offer created from a Peer Connection to the signalling server. | |
| void | Send a subscribe message to the signalling server to subscribe to a specific streamer. | ||
| void | Unsubscribe () |
Send an unsubscribe message to the signalling server to unsubscribe from a streamer. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSignallingObserver |