Navigation
API > API/Runtime > API/Runtime/HttpNetworkReplayStreaming
Inheritance Hierarchy
- INetworkReplayStreamer
- FHttpNetworkReplayStreamer
References
| Module | HttpNetworkReplayStreaming |
| Header | /Engine/Source/Runtime/NetworkReplayStreaming/HttpNetworkReplayStreaming/Public/HttpNetworkReplayStreaming.h |
| Include | #include "HttpNetworkReplayStreaming.h" |
Syntax
class FHttpNetworkReplayStreamer : public INetworkReplayStreamer
Remarks
Http network replay streaming manager
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bStopStreamingCalled | ||
| bool | bStreamIsLive | ||
| FHttpStreamFArchive | CheckpointArchive | ||
| FReplayEventList | CheckpointList | ||
| int32 | DeltaDownloadCheckpointIndex | ||
| int32 | DownloadCheckpointIndex | ||
| TSet< FString > | EventGroupSet | ||
| FGotoCallback | GotoCheckpointDelegate | ||
| FHttpStreamFArchive | HeaderArchive | ||
| uint32 | HighPriorityEndTime | ||
| TSharedPtr< FQueuedHttpRequest > | InFlightHttpRequest | ||
| double | LastChunkTime | ||
| int64 | LastGotoTimeInMS | ||
| double | LastRefreshCheckpointTime | ||
| double | LastRefreshViewerTime | ||
| uint32 | LastTotalDemoTimeInMS | ||
| int32 | NumTotalStreamChunks | ||
| TArray< TSharedPtr< FQueuedHttpRequest > > | QueuedHttpRequests | ||
| int32 | RefreshViewerFails | ||
| FNetworkReplayVersion | ReplayVersion | ||
| TMap< FString, FCachedResponse > | ResponseCache | ||
| FString | ServerURL | ||
| FString | SessionName | ||
| FStartStreamingCallback | StartStreamingDelegate | ||
| FHttpStreamFArchive | StreamArchive | ||
| int32 | StreamChunkIndex | ||
| EReplayStreamerState | StreamerState | ||
| FString | StreamMetadata | ||
| uint32 | StreamTimeRangeEnd | ||
| uint32 | StreamTimeRangeStart | ||
| uint32 | TotalDemoTimeInMS | ||
| uint64 | TotalUploadBytes | ||
| FString | ViewerName |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCustomRequestToQueue
(
TSharedPtr< FQueuedHttpRequest > Request |
||
| void | AddRequestToQueue
(
const EQueuedHttpRequestType::Type Type, |
||
| void | AddResponseToCache
(
FHttpRequestPtr HttpRequest, |
||
| void | CancelInFlightOrPendingTask
(
const EQueuedHttpRequestType::Type Type |
||
| void | |||
| void | |||
| bool | CompressBuffer
(
const TArray< uint8 >& InBuffer, |
||
| bool | CompressRequest
(
FHttpRequestPtr HttpRequest, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| bool | DecompressBuffer
(
FHttpStreamFArchive& InCompressed, |
||
| bool | DecompressResponse
(
FHttpResponsePtr HttpResponse, |
||
| void | |||
| void | FlushCheckpointInternal
(
uint32 TimeInMS |
||
| void | FlushStream () |
||
| FString | |||
| bool | |||
| void | HttpAddUserFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpDownloadCheckpointDeltaFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpDownloadCheckpointFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpDownloadFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpDownloadHeaderFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpEnumerateCheckpointsFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpEnumerateEventsFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpEnumerateSessionsFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpHeaderUploadFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpRefreshViewerFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpRequestEventDataFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpStartDownloadingFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpStartUploadingFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpStopUploadingFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpUploadCheckpointFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpUploadCustomEventFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | HttpUploadStreamFinished
(
FHttpRequestPtr HttpRequest, |
||
| void | InternalGotoCheckpointIndex
(
const int32 CheckpointIndex, |
||
| void | InternalGotoTimeInMS
(
const uint32 TimeInMS, |
||
| bool | |||
| bool | IsStreaming () |
||
| bool | IsTaskPendingOrInFlight
(
const EQueuedHttpRequestType::Type Type |
||
| void | KeepReplayFinished
(
FHttpRequestPtr HttpRequest, |
Purposefully passing a copy of a string here, as we call this from a delegate and don't want to inadvertently capture a reference which may go out of scope. | |
| bool | |||
| void | ProcessRequestInternal
(
TSharedPtr< class IHttpRequest, ESPMode::ThreadSafe > Request |
||
| void | RefreshViewer
(
const bool bFinal |
||
| void | RequestFinished
(
EReplayStreamerState ExpectedStreamerState, |
Delegates | |
| bool | RetryRequest
(
TSharedPtr< FQueuedHttpRequest > Request, |
||
| void | SetLastError
(
FHttpReplayResult&& Result |
||
| void | |||
| bool | |||
| void | Tick
(
const float DeltaTime |
||
| void | UploadHeader () |
FHttpNetworkReplayStreamer |
Overridden from INetworkReplayStreamer
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | AddOrUpdateEvent
(
const FString& Name, |
||
| void | AddUserToReplay
(
const FString& UserString |
Adds a join-in-progress user to the set of users associated with the currently recording replay (if any) | |
| void | DeleteFinishedStream
(
const FString& StreamName, |
||
| void | DeleteFinishedStream
(
const FString& StreamName, |
Attempts to delete the stream with the specified name. May execute asynchronously. | |
| void | DownloadHeader
(
const FDownloadHeaderCallback& Delegate |
||
| void | EnumerateEvents
(
const FString& Group, |
||
| void | EnumerateEvents
(
const FString& ReplayName, |
||
| void | EnumerateEvents
(
const FString& ReplayName, |
||
| void | EnumerateRecentStreams
(
const FNetworkReplayVersion& ReplayVersion, |
Retrieves the streams that have been recently viewed. May execute asynchronously. | |
| void | EnumerateStreams
(
const FNetworkReplayVersion& ReplayVersion, |
Retrieves the streams that are available for viewing. | |
| void | FlushCheckpoint
(
const uint32 TimeInMS |
||
| FArchive * | |||
| EStreamingOperationResult | GetDemoPath
(
FString& DemoPath |
Gets the current base directory where Demos are stored. | |
| FArchive * | |||
| uint32 | Returns the maximum size of the friendly name text for this streamer, or 0 for unlimited. | ||
| FString | GetReplayID () |
Returns the active replay name | |
| EReplayStreamerState | Return current recording/playback state | ||
| FArchive * | |||
| uint32 | Time in milliseconds | ||
| void | GotoCheckpointIndex
(
const int32 CheckpointIndex, |
||
| void | GotoTimeInMS
(
const uint32 TimeInMS, |
||
| bool | IsCheckpointTypeSupported
(
EReplayCheckpointType CheckpointType |
||
| bool | |||
| bool | IsDataAvailableForTimeRange
(
const uint32 StartTimeInMS, |
||
| bool | IsLive () |
Returns true if the playing stream is currently in progress | |
| bool | |||
| void | KeepReplay
(
const FString& ReplayName, |
Used to commit a replay to permanent storage. | |
| void | KeepReplay
(
const FString& ReplayName, |
||
| void | |||
| void | RenameReplay
(
const FString& ReplayName, |
||
| void | RenameReplay
(
const FString& ReplayName, |
Used to change the name of a replay. | |
| void | RenameReplayFriendlyName
(
const FString& ReplayName, |
||
| void | RenameReplayFriendlyName
(
const FString& ReplayName, |
Used to change the friendly name of a replay. | |
| void | RequestEventData
(
const FString& ReplayName, |
||
| void | RequestEventData
(
const FString& EventId, |
||
| void | RequestEventData
(
const FString& ReplayName, |
||
| void | RequestEventGroupData
(
const FString& Group, |
||
| void | RequestEventGroupData
(
const FString& ReplayName, |
||
| void | RequestEventGroupData
(
const FString& ReplayName, |
||
| void | SearchEvents
(
const FString& EventGroup, |
||
| EStreamingOperationResult | SetDemoPath
(
const FString& DemoPath |
Changes the base directory where Demos are stored. | |
| void | SetHighPriorityTimeRange
(
const uint32 StartTimeInMS, |
||
| void | SetTimeBufferHintSeconds
(
const float InTimeBufferHintSeconds |
Sets a hint for how much data needs to be kept in memory. | |
| void | StartStreaming
(
const FStartStreamingParameters& Params, |
INetworkReplayStreamer implementation | |
| void | |||
| void | UpdatePlaybackTime
(
uint32 TimeInMS |
||
| void | UpdateTotalDemoTime
(
uint32 TimeInMS |
Typedefs
| Name | Description |
|---|---|
| FHttpReplayResult |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetLastError
(
const ENetworkReplayError::Type InLastError |
No longer used |