Navigation
API > API/Plugins > API/Plugins/PixelStreaming
Inheritance Hierarchy
- SetSessionDescriptionObserver
- FPixelStreamingSetSessionDescriptionObserver
References
| Module | PixelStreaming |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingSessionDescriptionObservers.h |
| Include | #include "PixelStreamingSessionDescriptionObservers.h" |
Syntax
class FPixelStreamingSetSessionDescriptionObserver : public SetSessionDescriptionObserver
Remarks
FPixelStreamingSetSessionDescriptionObserver WebRTC requires an implementation of webrtc::SetSessionDescriptionObserver_ interface as a callback for setting session description, either on receiving remote offer_ (PeerConnection::SetRemoteDescription_) of on sending answer_ (`PeerConnection::SetLocalDescription_)
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelStreamingSetSessionDescriptionObserver
(
const FSuccessCallback& successCallback, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPixelStreamingSetSessionDescriptionObserver * | Create
(
const FSuccessCallback& successCallback, |
||
| void | OnFailure
(
webrtc::RTCError Error |
Errors usually mean incompatibility between our session configuration (often H.264, its profile and level) and player, malformed SDP or if player doesn't support UnifiedPlan (whatever was used by proxy) | |
| void | OnSuccess () |
We don't need to do anything on success |
Typedefs
| Name | Description |
|---|---|
| FFailureCallback | |
| FSuccessCallback |