UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FHttpNetworkReplayStreamer Class Reference

#include <HttpNetworkReplayStreaming.h>

+ Inheritance diagram for FHttpNetworkReplayStreamer:

Public Member Functions

 FHttpNetworkReplayStreamer ()
 
virtual void StartStreaming (const FStartStreamingParameters &Params, const FStartStreamingCallback &Delegate) override
 
virtual void StopStreaming () override
 
virtual FArchiveGetHeaderArchive () override
 
virtual FArchiveGetStreamingArchive () override
 
virtual FArchiveGetCheckpointArchive () override
 
virtual void FlushCheckpoint (const uint32 TimeInMS) override
 
virtual void GotoCheckpointIndex (const int32 CheckpointIndex, const FGotoCallback &Delegate, EReplayCheckpointType CheckpointType) override
 
virtual void GotoTimeInMS (const uint32 TimeInMS, const FGotoCallback &Delegate, EReplayCheckpointType CheckpointType) override
 
virtual void UpdateTotalDemoTime (uint32 TimeInMS) override
 
virtual void UpdatePlaybackTime (uint32 TimeInMS) override
 
virtual uint32 GetTotalDemoTime () const override
 
virtual bool IsDataAvailable () const override
 
virtual void SetHighPriorityTimeRange (const uint32 StartTimeInMS, const uint32 EndTimeInMS) override
 
virtual bool IsDataAvailableForTimeRange (const uint32 StartTimeInMS, const uint32 EndTimeInMS) override
 
virtual bool IsLoadingCheckpoint () const override
 
virtual bool IsLive () const override
 
virtual void DeleteFinishedStream (const FString &StreamName, const FDeleteFinishedStreamCallback &Delegate) override
 
virtual void DeleteFinishedStream (const FString &StreamName, const int32 UserIndex, const FDeleteFinishedStreamCallback &Delegate) override
 
virtual void EnumerateStreams (const FNetworkReplayVersion &InReplayVersion, const int32 UserIndex, const FString &MetaString, const TArray< FString > &ExtraParms, const FEnumerateStreamsCallback &Delegate) override
 
virtual void EnumerateEvents (const FString &Group, const FEnumerateEventsCallback &Delegate) override
 
virtual void EnumerateEvents (const FString &ReplayName, const FString &Group, const FEnumerateEventsCallback &Delegate) override
 
virtual void EnumerateEvents (const FString &ReplayName, const FString &Group, const int32 UserIndex, const FEnumerateEventsCallback &Delegate) override
 
virtual void EnumerateRecentStreams (const FNetworkReplayVersion &ReplayVersion, const int32 UserIndex, const FEnumerateStreamsCallback &Delegate) override
 
virtual void AddUserToReplay (const FString &UserString) override
 
virtual void RequestEventData (const FString &EventId, const FRequestEventDataCallback &Delegate) override
 
virtual void RequestEventData (const FString &ReplayName, const FString &EventId, const FRequestEventDataCallback &Delegate) override
 
virtual void RequestEventData (const FString &ReplayName, const FString &EventId, const int32 UserIndex, const FRequestEventDataCallback &Delegate) override
 
virtual void RequestEventGroupData (const FString &Group, const FRequestEventGroupDataCallback &Delegate) override
 
virtual void RequestEventGroupData (const FString &ReplayName, const FString &Group, const FRequestEventGroupDataCallback &Delegate) override
 
virtual void RequestEventGroupData (const FString &ReplayName, const FString &Group, const int32 UserIndex, const FRequestEventGroupDataCallback &Delegate) override
 
virtual void SearchEvents (const FString &EventGroup, const FSearchEventsCallback &Delegate) override
 
virtual void KeepReplay (const FString &ReplayName, const bool bKeep, const FKeepReplayCallback &Delegate) override
 
virtual void KeepReplay (const FString &ReplayName, const bool bKeep, const int32 UserIndex, const FKeepReplayCallback &Delegate) override
 
virtual void RenameReplayFriendlyName (const FString &ReplayName, const FString &NewFriendlyName, const FRenameReplayCallback &Delegate) override
 
virtual void RenameReplayFriendlyName (const FString &ReplayName, const FString &NewFriendlyName, const int32 UserIndex, const FRenameReplayCallback &Delegate) override
 
virtual void RenameReplay (const FString &ReplayName, const FString &NewName, const FRenameReplayCallback &Delegate) override
 
virtual void RenameReplay (const FString &ReplayName, const FString &NewName, const int32 UserIndex, const FRenameReplayCallback &Delegate) override
 
virtual FString GetReplayID () const override
 
virtual EReplayStreamerState GetReplayStreamerState () const override
 
virtual void SetTimeBufferHintSeconds (const float InTimeBufferHintSeconds) override
 
virtual void RefreshHeader () override
 
virtual void DownloadHeader (const FDownloadHeaderCallback &Delegate)
 
virtual uint32 GetMaxFriendlyNameSize () const override
 
virtual EStreamingOperationResult SetDemoPath (const FString &DemoPath) override
 
virtual EStreamingOperationResult GetDemoPath (FString &DemoPath) const override
 
virtual bool IsCheckpointTypeSupported (EReplayCheckpointType CheckpointType) const override
 
void UploadHeader ()
 
void FlushStream ()
 
void ConditionallyFlushStream ()
 
void StopUploading ()
 
bool IsTaskPendingOrInFlight (const EQueuedHttpRequestType::Type Type) const
 
void CancelInFlightOrPendingTask (const EQueuedHttpRequestType::Type Type)
 
void ConditionallyDownloadNextChunk ()
 
void RefreshViewer (const bool bFinal)
 
void ConditionallyRefreshViewer ()
 
void SetLastError (const ENetworkReplayError::Type InLastError)
 
void SetLastError (FHttpReplayResult &&Result)
 
virtual void CancelStreamingRequests ()
 
void FlushCheckpointInternal (uint32 TimeInMS)
 
virtual void AddEvent (const uint32 TimeInMS, const FString &Group, const FString &Meta, const TArray< uint8 > &Data) override
 
virtual void AddOrUpdateEvent (const FString &Name, const uint32 TimeInMS, const FString &Group, const FString &Meta, const TArray< uint8 > &Data) override
 
void AddRequestToQueue (const EQueuedHttpRequestType::Type Type, TSharedPtr< class IHttpRequest, ESPMode::ThreadSafe > Request, const int32 InMaxRetries=0, const float InRetryDelay=0.0f)
 
void AddCustomRequestToQueue (TSharedPtr< FQueuedHttpRequest > Request)
 
void AddResponseToCache (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse)
 
void CleanupResponseCache ()
 
bool RetryRequest (TSharedPtr< FQueuedHttpRequest > Request, FHttpResponsePtr HttpResponse, const bool bIgnoreResponseCode=false)
 
void EnumerateCheckpoints ()
 
void ConditionallyEnumerateCheckpoints ()
 
virtual void ProcessRequestInternal (TSharedPtr< class IHttpRequest, ESPMode::ThreadSafe > Request)
 
virtual bool SupportsCompression () const
 
virtual bool CompressBuffer (const TArray< uint8 > &InBuffer, FHttpStreamFArchive &OutCompressed) const
 
virtual bool DecompressBuffer (FHttpStreamFArchive &InCompressed, TArray< uint8 > &OutBuffer) const
 
virtual FString GetRecordingMetadata () const
 
virtual bool DecompressResponse (FHttpResponsePtr HttpResponse, TArray< uint8 > &ResultBuffer) const
 
virtual bool CompressRequest (FHttpRequestPtr HttpRequest, const TArray< uint8 > &RequestBuffer) const
 
void InternalGotoTimeInMS (const uint32 TimeInMS, const FGotoCallback &Delegate, bool bDelta)
 
void InternalGotoCheckpointIndex (const int32 CheckpointIndex, const FGotoCallback &Delegate, const FHttpRequestCompleteDelegate &RequestDelegate)
 
void RequestFinished (EReplayStreamerState ExpectedStreamerState, EQueuedHttpRequestType::Type ExpectedType, FHttpRequestPtr HttpRequest)
 
void HttpStartDownloadingFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpDownloadHeaderFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, FDownloadHeaderCallback Delegate)
 
void HttpDownloadFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, int32 RequestedStreamChunkIndex, bool bStreamWasLive)
 
void HttpDownloadCheckpointFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpDownloadCheckpointDeltaFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpRefreshViewerFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpStartUploadingFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpStopUploadingFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpHeaderUploadFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpUploadStreamFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpUploadCheckpointFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpUploadCustomEventFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpEnumerateSessionsFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, FEnumerateStreamsCallback Delegate)
 
void HttpEnumerateCheckpointsFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpEnumerateEventsFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, FEnumerateEventsCallback EnumerateEventsDelegate)
 
void HttpAddUserFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 
void HttpRequestEventDataFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, FRequestEventDataCallback RequestEventDataCompleteDelegate)
 
void KeepReplayFinished (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded, FKeepReplayCallback KeepReplayDelegate, FString ReplayName)
 
bool ProcessNextHttpRequest ()
 
void Tick (const float DeltaTime)
 
bool IsHttpRequestInFlight () const
 
bool HasPendingHttpRequests () const
 
bool IsStreaming () const
 
- Public Member Functions inherited from INetworkReplayStreamer
NETWORKREPLAYSTREAMING_API INetworkReplayStreamer ()
 
virtual NETWORKREPLAYSTREAMING_API ~INetworkReplayStreamer ()
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS virtual NETWORKREPLAYSTREAMING_API ENetworkReplayError::Type GetLastError () const
 
NETWORKREPLAYSTREAMING_API virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS bool HasError () const
 
virtual NETWORKREPLAYSTREAMING_API UE::Net::EHandleNetResult HandleLastError (UE::Net::FNetResultManager &ResultManager)
 
virtual NETWORKREPLAYSTREAMING_API void SetExtendedError (UE::Net::FNetResult &&Result)
 
virtual void SetAnalyticsProvider (TSharedPtr< IAnalyticsProvider > &InProvider)
 
virtual NETWORKREPLAYSTREAMING_API TArray< FAnalyticsEventAttributeAppendCommonReplayAttributes (TArray< FAnalyticsEventAttribute > &&Attrs) const
 
virtual void Exec (const TCHAR *Cmd, FOutputDevice &Ar)
 

Public Attributes

FHttpStreamFArchive HeaderArchive
 
FHttpStreamFArchive StreamArchive
 
FHttpStreamFArchive CheckpointArchive
 
FString SessionName
 
FNetworkReplayVersion ReplayVersion
 
FString ServerURL
 
int32 StreamChunkIndex
 
double LastChunkTime
 
double LastRefreshViewerTime
 
double LastRefreshCheckpointTime
 
EReplayStreamerState StreamerState
 
bool bStopStreamingCalled
 
bool bStreamIsLive
 
FString StreamMetadata
 
int32 NumTotalStreamChunks
 
uint32 TotalDemoTimeInMS
 
uint32 LastTotalDemoTimeInMS
 
uint32 StreamTimeRangeStart
 
uint32 StreamTimeRangeEnd
 
FString ViewerName
 
uint32 HighPriorityEndTime
 
FStartStreamingCallback StartStreamingDelegate
 
FGotoCallback GotoCheckpointDelegate
 
int32 DownloadCheckpointIndex
 
int32 DeltaDownloadCheckpointIndex
 
int64 LastGotoTimeInMS
 
FReplayEventList CheckpointList
 
TArray< TSharedPtr< FQueuedHttpRequest > > QueuedHttpRequests
 
TSharedPtr< FQueuedHttpRequestInFlightHttpRequest
 
TSet< FString > EventGroupSet
 
uint64 TotalUploadBytes
 
TMap< FString, FCachedResponseResponseCache
 
int32 RefreshViewerFails
 

Additional Inherited Members

- Static Public Attributes inherited from INetworkReplayStreamer
static NETWORKREPLAYSTREAMING_API FOnReplayGetAnalyticsAttributes OnReplayGetAnalyticsAttributes
 

Detailed Description

Http network replay streaming manager

Constructor & Destructor Documentation

◆ FHttpNetworkReplayStreamer()

FHttpNetworkReplayStreamer::FHttpNetworkReplayStreamer ( )

Member Function Documentation

◆ AddCustomRequestToQueue()

void FHttpNetworkReplayStreamer::AddCustomRequestToQueue ( TSharedPtr< FQueuedHttpRequest Request)

◆ AddEvent()

void FHttpNetworkReplayStreamer::AddEvent ( const uint32  TimeInMS,
const FString &  Group,
const FString &  Meta,
const TArray< uint8 > &  Data 
)
overridevirtual

◆ AddOrUpdateEvent()

void FHttpNetworkReplayStreamer::AddOrUpdateEvent ( const FString &  Name,
const uint32  TimeInMS,
const FString &  Group,
const FString &  Meta,
const TArray< uint8 > &  Data 
)
overridevirtual

◆ AddRequestToQueue()

void FHttpNetworkReplayStreamer::AddRequestToQueue ( const EQueuedHttpRequestType::Type  Type,
TSharedPtr< class IHttpRequest, ESPMode::ThreadSafe Request,
const int32  InMaxRetries = 0,
const float  InRetryDelay = 0.0f 
)

◆ AddResponseToCache()

void FHttpNetworkReplayStreamer::AddResponseToCache ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse 
)

◆ AddUserToReplay()

void FHttpNetworkReplayStreamer::AddUserToReplay ( const FString &  UserString)
overridevirtual

Adds a join-in-progress user to the set of users associated with the currently recording replay (if any)

Parameters
UserStringa string that uniquely identifies the user, usually their FUniqueNetId

Implements INetworkReplayStreamer.

◆ CancelInFlightOrPendingTask()

void FHttpNetworkReplayStreamer::CancelInFlightOrPendingTask ( const EQueuedHttpRequestType::Type  Type)

◆ CancelStreamingRequests()

void FHttpNetworkReplayStreamer::CancelStreamingRequests ( )
virtual

◆ CleanupResponseCache()

void FHttpNetworkReplayStreamer::CleanupResponseCache ( )

◆ CompressBuffer()

virtual bool FHttpNetworkReplayStreamer::CompressBuffer ( const TArray< uint8 > &  InBuffer,
FHttpStreamFArchive OutCompressed 
) const
inlinevirtual

◆ CompressRequest()

bool FHttpNetworkReplayStreamer::CompressRequest ( FHttpRequestPtr  HttpRequest,
const TArray< uint8 > &  RequestBuffer 
) const
virtual

◆ ConditionallyDownloadNextChunk()

void FHttpNetworkReplayStreamer::ConditionallyDownloadNextChunk ( )

◆ ConditionallyEnumerateCheckpoints()

void FHttpNetworkReplayStreamer::ConditionallyEnumerateCheckpoints ( )

◆ ConditionallyFlushStream()

void FHttpNetworkReplayStreamer::ConditionallyFlushStream ( )

◆ ConditionallyRefreshViewer()

void FHttpNetworkReplayStreamer::ConditionallyRefreshViewer ( )

◆ DecompressBuffer()

virtual bool FHttpNetworkReplayStreamer::DecompressBuffer ( FHttpStreamFArchive InCompressed,
TArray< uint8 > &  OutBuffer 
) const
inlinevirtual

◆ DecompressResponse()

bool FHttpNetworkReplayStreamer::DecompressResponse ( FHttpResponsePtr  HttpResponse,
TArray< uint8 > &  ResultBuffer 
) const
virtual

◆ DeleteFinishedStream() [1/2]

void FHttpNetworkReplayStreamer::DeleteFinishedStream ( const FString &  StreamName,
const FDeleteFinishedStreamCallback Delegate 
)
overridevirtual

Attempts to delete the stream with the specified name. May execute asynchronously.

Parameters
StreamNameThe name of the stream to delete
DelegateA delegate that will be executed if bound when the delete operation completes

Implements INetworkReplayStreamer.

◆ DeleteFinishedStream() [2/2]

void FHttpNetworkReplayStreamer::DeleteFinishedStream ( const FString &  StreamName,
const int32  UserIndex,
const FDeleteFinishedStreamCallback Delegate 
)
overridevirtual

◆ DownloadHeader()

void FHttpNetworkReplayStreamer::DownloadHeader ( const FDownloadHeaderCallback Delegate)
virtual

◆ EnumerateCheckpoints()

void FHttpNetworkReplayStreamer::EnumerateCheckpoints ( )

◆ EnumerateEvents() [1/3]

void FHttpNetworkReplayStreamer::EnumerateEvents ( const FString &  Group,
const FEnumerateEventsCallback Delegate 
)
overridevirtual

◆ EnumerateEvents() [2/3]

void FHttpNetworkReplayStreamer::EnumerateEvents ( const FString &  ReplayName,
const FString &  Group,
const FEnumerateEventsCallback Delegate 
)
overridevirtual

◆ EnumerateEvents() [3/3]

void FHttpNetworkReplayStreamer::EnumerateEvents ( const FString &  ReplayName,
const FString &  Group,
const int32  UserIndex,
const FEnumerateEventsCallback Delegate 
)
overridevirtual

◆ EnumerateRecentStreams()

void FHttpNetworkReplayStreamer::EnumerateRecentStreams ( const FNetworkReplayVersion ReplayVersion,
const int32  UserIndex,
const FEnumerateStreamsCallback Delegate 
)
overridevirtual

Retrieves the streams that have been recently viewed. May execute asynchronously.

Parameters
DelegateA delegate that will be executed if bound when the list of streams is available

Implements INetworkReplayStreamer.

◆ EnumerateStreams()

void FHttpNetworkReplayStreamer::EnumerateStreams ( const FNetworkReplayVersion ReplayVersion,
const int32  UserIndex,
const FString &  MetaString,
const TArray< FString > &  ExtraParms,
const FEnumerateStreamsCallback Delegate 
)
overridevirtual

Retrieves the streams that are available for viewing. May execute asynchronously. Allows the caller to pass in a custom list of query parameters

Implements INetworkReplayStreamer.

◆ FlushCheckpoint()

void FHttpNetworkReplayStreamer::FlushCheckpoint ( const uint32  TimeInMS)
overridevirtual

◆ FlushCheckpointInternal()

void FHttpNetworkReplayStreamer::FlushCheckpointInternal ( uint32  TimeInMS)

◆ FlushStream()

void FHttpNetworkReplayStreamer::FlushStream ( )

◆ GetCheckpointArchive()

FArchive * FHttpNetworkReplayStreamer::GetCheckpointArchive ( )
overridevirtual

◆ GetDemoPath()

virtual EStreamingOperationResult FHttpNetworkReplayStreamer::GetDemoPath ( FString &  DemoPath) const
inlineoverridevirtual

Gets the current base directory where Demos are stored. Note, this will always fail for streamers that don't support replays stored on disk.

Implements INetworkReplayStreamer.

◆ GetHeaderArchive()

FArchive * FHttpNetworkReplayStreamer::GetHeaderArchive ( )
overridevirtual

◆ GetMaxFriendlyNameSize()

virtual uint32 FHttpNetworkReplayStreamer::GetMaxFriendlyNameSize ( ) const
inlineoverridevirtual

Returns the maximum size of the friendly name text for this streamer, or 0 for unlimited.

Implements INetworkReplayStreamer.

◆ GetRecordingMetadata()

FString FHttpNetworkReplayStreamer::GetRecordingMetadata ( ) const
virtual

◆ GetReplayID()

virtual FString FHttpNetworkReplayStreamer::GetReplayID ( ) const
inlineoverridevirtual

Returns the active replay name

Implements INetworkReplayStreamer.

◆ GetReplayStreamerState()

virtual EReplayStreamerState FHttpNetworkReplayStreamer::GetReplayStreamerState ( ) const
inlineoverridevirtual

Return current recording/playback state

Reimplemented from INetworkReplayStreamer.

◆ GetStreamingArchive()

FArchive * FHttpNetworkReplayStreamer::GetStreamingArchive ( )
overridevirtual

◆ GetTotalDemoTime()

virtual uint32 FHttpNetworkReplayStreamer::GetTotalDemoTime ( ) const
inlineoverridevirtual

Time in milliseconds

Implements INetworkReplayStreamer.

◆ GotoCheckpointIndex()

void FHttpNetworkReplayStreamer::GotoCheckpointIndex ( const int32  CheckpointIndex,
const FGotoCallback Delegate,
EReplayCheckpointType  CheckpointType 
)
overridevirtual

◆ GotoTimeInMS()

void FHttpNetworkReplayStreamer::GotoTimeInMS ( const uint32  TimeInMS,
const FGotoCallback Delegate,
EReplayCheckpointType  CheckpointType 
)
overridevirtual

◆ HasPendingHttpRequests()

bool FHttpNetworkReplayStreamer::HasPendingHttpRequests ( ) const

◆ HttpAddUserFinished()

void FHttpNetworkReplayStreamer::HttpAddUserFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpDownloadCheckpointDeltaFinished()

void FHttpNetworkReplayStreamer::HttpDownloadCheckpointDeltaFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpDownloadCheckpointFinished()

void FHttpNetworkReplayStreamer::HttpDownloadCheckpointFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpDownloadFinished()

void FHttpNetworkReplayStreamer::HttpDownloadFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
int32  RequestedStreamChunkIndex,
bool  bStreamWasLive 
)

◆ HttpDownloadHeaderFinished()

void FHttpNetworkReplayStreamer::HttpDownloadHeaderFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
FDownloadHeaderCallback  Delegate 
)

◆ HttpEnumerateCheckpointsFinished()

void FHttpNetworkReplayStreamer::HttpEnumerateCheckpointsFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpEnumerateEventsFinished()

void FHttpNetworkReplayStreamer::HttpEnumerateEventsFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
FEnumerateEventsCallback  EnumerateEventsDelegate 
)

◆ HttpEnumerateSessionsFinished()

void FHttpNetworkReplayStreamer::HttpEnumerateSessionsFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
FEnumerateStreamsCallback  Delegate 
)

◆ HttpHeaderUploadFinished()

void FHttpNetworkReplayStreamer::HttpHeaderUploadFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpRefreshViewerFinished()

void FHttpNetworkReplayStreamer::HttpRefreshViewerFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpRequestEventDataFinished()

void FHttpNetworkReplayStreamer::HttpRequestEventDataFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
FRequestEventDataCallback  RequestEventDataCompleteDelegate 
)

◆ HttpStartDownloadingFinished()

void FHttpNetworkReplayStreamer::HttpStartDownloadingFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpStartUploadingFinished()

void FHttpNetworkReplayStreamer::HttpStartUploadingFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpStopUploadingFinished()

void FHttpNetworkReplayStreamer::HttpStopUploadingFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpUploadCheckpointFinished()

void FHttpNetworkReplayStreamer::HttpUploadCheckpointFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpUploadCustomEventFinished()

void FHttpNetworkReplayStreamer::HttpUploadCustomEventFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ HttpUploadStreamFinished()

void FHttpNetworkReplayStreamer::HttpUploadStreamFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)

◆ InternalGotoCheckpointIndex()

void FHttpNetworkReplayStreamer::InternalGotoCheckpointIndex ( const int32  CheckpointIndex,
const FGotoCallback Delegate,
const FHttpRequestCompleteDelegate RequestDelegate 
)

◆ InternalGotoTimeInMS()

void FHttpNetworkReplayStreamer::InternalGotoTimeInMS ( const uint32  TimeInMS,
const FGotoCallback Delegate,
bool  bDelta 
)

◆ IsCheckpointTypeSupported()

bool FHttpNetworkReplayStreamer::IsCheckpointTypeSupported ( EReplayCheckpointType  CheckpointType) const
overridevirtual

◆ IsDataAvailable()

bool FHttpNetworkReplayStreamer::IsDataAvailable ( ) const
overridevirtual

◆ IsDataAvailableForTimeRange()

bool FHttpNetworkReplayStreamer::IsDataAvailableForTimeRange ( const uint32  StartTimeInMS,
const uint32  EndTimeInMS 
)
overridevirtual

◆ IsHttpRequestInFlight()

bool FHttpNetworkReplayStreamer::IsHttpRequestInFlight ( ) const

◆ IsLive()

bool FHttpNetworkReplayStreamer::IsLive ( ) const
overridevirtual

Returns true if the playing stream is currently in progress

Implements INetworkReplayStreamer.

◆ IsLoadingCheckpoint()

bool FHttpNetworkReplayStreamer::IsLoadingCheckpoint ( ) const
overridevirtual

◆ IsStreaming()

bool FHttpNetworkReplayStreamer::IsStreaming ( ) const

◆ IsTaskPendingOrInFlight()

bool FHttpNetworkReplayStreamer::IsTaskPendingOrInFlight ( const EQueuedHttpRequestType::Type  Type) const

◆ KeepReplay() [1/2]

void FHttpNetworkReplayStreamer::KeepReplay ( const FString &  ReplayName,
const bool  bKeep,
const FKeepReplayCallback Delegate 
)
overridevirtual

Used to commit a replay to permanent storage.

Parameters
ReplayNameName of the replay to keep.
bKeepWhether or not we actually want to keep this replay.

Implements INetworkReplayStreamer.

◆ KeepReplay() [2/2]

void FHttpNetworkReplayStreamer::KeepReplay ( const FString &  ReplayName,
const bool  bKeep,
const int32  UserIndex,
const FKeepReplayCallback Delegate 
)
overridevirtual

◆ KeepReplayFinished()

void FHttpNetworkReplayStreamer::KeepReplayFinished ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded,
FKeepReplayCallback  KeepReplayDelegate,
FString  ReplayName 
)

◆ ProcessNextHttpRequest()

bool FHttpNetworkReplayStreamer::ProcessNextHttpRequest ( )

◆ ProcessRequestInternal()

void FHttpNetworkReplayStreamer::ProcessRequestInternal ( TSharedPtr< class IHttpRequest, ESPMode::ThreadSafe Request)
virtual

◆ RefreshHeader()

void FHttpNetworkReplayStreamer::RefreshHeader ( )
overridevirtual

◆ RefreshViewer()

void FHttpNetworkReplayStreamer::RefreshViewer ( const bool  bFinal)

◆ RenameReplay() [1/2]

void FHttpNetworkReplayStreamer::RenameReplay ( const FString &  ReplayName,
const FString &  NewName,
const FRenameReplayCallback Delegate 
)
overridevirtual

Used to change the name of a replay. Note, this will change the name used to refer to the replay (if successful).

Parameters
ReplayNameName of the replay to rename.
NewNameThe new name for the replay.

Implements INetworkReplayStreamer.

◆ RenameReplay() [2/2]

void FHttpNetworkReplayStreamer::RenameReplay ( const FString &  ReplayName,
const FString &  NewName,
const int32  UserIndex,
const FRenameReplayCallback Delegate 
)
overridevirtual

◆ RenameReplayFriendlyName() [1/2]

void FHttpNetworkReplayStreamer::RenameReplayFriendlyName ( const FString &  ReplayName,
const FString &  NewFriendlyName,
const FRenameReplayCallback Delegate 
)
overridevirtual

Used to change the friendly name of a replay. Note, changing the friendly name does not change the name used to refer to replay.

Parameters
ReplayNameName of the replay to rename.
NewFriendlyNameThe new friendly name for the replay.

Implements INetworkReplayStreamer.

◆ RenameReplayFriendlyName() [2/2]

void FHttpNetworkReplayStreamer::RenameReplayFriendlyName ( const FString &  ReplayName,
const FString &  NewFriendlyName,
const int32  UserIndex,
const FRenameReplayCallback Delegate 
)
overridevirtual

◆ RequestEventData() [1/3]

void FHttpNetworkReplayStreamer::RequestEventData ( const FString &  EventId,
const FRequestEventDataCallback Delegate 
)
overridevirtual

◆ RequestEventData() [2/3]

void FHttpNetworkReplayStreamer::RequestEventData ( const FString &  ReplayName,
const FString &  EventId,
const FRequestEventDataCallback Delegate 
)
overridevirtual

◆ RequestEventData() [3/3]

void FHttpNetworkReplayStreamer::RequestEventData ( const FString &  ReplayName,
const FString &  EventId,
const int32  UserIndex,
const FRequestEventDataCallback Delegate 
)
overridevirtual

◆ RequestEventGroupData() [1/3]

void FHttpNetworkReplayStreamer::RequestEventGroupData ( const FString &  Group,
const FRequestEventGroupDataCallback Delegate 
)
overridevirtual

◆ RequestEventGroupData() [2/3]

void FHttpNetworkReplayStreamer::RequestEventGroupData ( const FString &  ReplayName,
const FString &  Group,
const FRequestEventGroupDataCallback Delegate 
)
overridevirtual

◆ RequestEventGroupData() [3/3]

void FHttpNetworkReplayStreamer::RequestEventGroupData ( const FString &  ReplayName,
const FString &  Group,
const int32  UserIndex,
const FRequestEventGroupDataCallback Delegate 
)
overridevirtual

◆ RequestFinished()

void FHttpNetworkReplayStreamer::RequestFinished ( EReplayStreamerState  ExpectedStreamerState,
EQueuedHttpRequestType::Type  ExpectedType,
FHttpRequestPtr  HttpRequest 
)

Delegates

◆ RetryRequest()

bool FHttpNetworkReplayStreamer::RetryRequest ( TSharedPtr< FQueuedHttpRequest Request,
FHttpResponsePtr  HttpResponse,
const bool  bIgnoreResponseCode = false 
)

◆ SearchEvents()

void FHttpNetworkReplayStreamer::SearchEvents ( const FString &  EventGroup,
const FSearchEventsCallback Delegate 
)
overridevirtual

◆ SetDemoPath()

virtual EStreamingOperationResult FHttpNetworkReplayStreamer::SetDemoPath ( const FString &  DemoPath)
inlineoverridevirtual

Changes the base directory where Demos are stored. Note, this will always fail for streamers that don't support replays stored on disk. This method should not be called after StartStreaming, or while async operations are pending on a streamer.

Implements INetworkReplayStreamer.

◆ SetHighPriorityTimeRange()

void FHttpNetworkReplayStreamer::SetHighPriorityTimeRange ( const uint32  StartTimeInMS,
const uint32  EndTimeInMS 
)
overridevirtual

◆ SetLastError() [1/2]

void FHttpNetworkReplayStreamer::SetLastError ( const ENetworkReplayError::Type  InLastError)
inline

◆ SetLastError() [2/2]

void FHttpNetworkReplayStreamer::SetLastError ( FHttpReplayResult &&  Result)

◆ SetTimeBufferHintSeconds()

virtual void FHttpNetworkReplayStreamer::SetTimeBufferHintSeconds ( const float  InTimeBufferHintSeconds)
inlineoverridevirtual

Sets a hint for how much data needs to be kept in memory. If set to a value greater than zero, a streamer implementation may free any in-memory data that would be required to go to a time before the beginning of the buffer.

Implements INetworkReplayStreamer.

◆ StartStreaming()

void FHttpNetworkReplayStreamer::StartStreaming ( const FStartStreamingParameters Params,
const FStartStreamingCallback Delegate 
)
overridevirtual

INetworkReplayStreamer implementation

Implements INetworkReplayStreamer.

◆ StopStreaming()

void FHttpNetworkReplayStreamer::StopStreaming ( )
overridevirtual

◆ StopUploading()

void FHttpNetworkReplayStreamer::StopUploading ( )

◆ SupportsCompression()

virtual bool FHttpNetworkReplayStreamer::SupportsCompression ( ) const
inlinevirtual

◆ Tick()

void FHttpNetworkReplayStreamer::Tick ( const float  DeltaTime)

◆ UpdatePlaybackTime()

virtual void FHttpNetworkReplayStreamer::UpdatePlaybackTime ( uint32  TimeInMS)
inlineoverridevirtual

◆ UpdateTotalDemoTime()

void FHttpNetworkReplayStreamer::UpdateTotalDemoTime ( uint32  TimeInMS)
overridevirtual

◆ UploadHeader()

void FHttpNetworkReplayStreamer::UploadHeader ( )

Member Data Documentation

◆ bStopStreamingCalled

bool FHttpNetworkReplayStreamer::bStopStreamingCalled

◆ bStreamIsLive

bool FHttpNetworkReplayStreamer::bStreamIsLive

◆ CheckpointArchive

FHttpStreamFArchive FHttpNetworkReplayStreamer::CheckpointArchive

◆ CheckpointList

FReplayEventList FHttpNetworkReplayStreamer::CheckpointList

◆ DeltaDownloadCheckpointIndex

int32 FHttpNetworkReplayStreamer::DeltaDownloadCheckpointIndex

◆ DownloadCheckpointIndex

int32 FHttpNetworkReplayStreamer::DownloadCheckpointIndex

◆ EventGroupSet

TSet< FString > FHttpNetworkReplayStreamer::EventGroupSet

◆ GotoCheckpointDelegate

FGotoCallback FHttpNetworkReplayStreamer::GotoCheckpointDelegate

◆ HeaderArchive

FHttpStreamFArchive FHttpNetworkReplayStreamer::HeaderArchive

◆ HighPriorityEndTime

uint32 FHttpNetworkReplayStreamer::HighPriorityEndTime

◆ InFlightHttpRequest

TSharedPtr< FQueuedHttpRequest > FHttpNetworkReplayStreamer::InFlightHttpRequest

◆ LastChunkTime

double FHttpNetworkReplayStreamer::LastChunkTime

◆ LastGotoTimeInMS

int64 FHttpNetworkReplayStreamer::LastGotoTimeInMS

◆ LastRefreshCheckpointTime

double FHttpNetworkReplayStreamer::LastRefreshCheckpointTime

◆ LastRefreshViewerTime

double FHttpNetworkReplayStreamer::LastRefreshViewerTime

◆ LastTotalDemoTimeInMS

uint32 FHttpNetworkReplayStreamer::LastTotalDemoTimeInMS

◆ NumTotalStreamChunks

int32 FHttpNetworkReplayStreamer::NumTotalStreamChunks

◆ QueuedHttpRequests

TArray< TSharedPtr< FQueuedHttpRequest > > FHttpNetworkReplayStreamer::QueuedHttpRequests

◆ RefreshViewerFails

int32 FHttpNetworkReplayStreamer::RefreshViewerFails

◆ ReplayVersion

FNetworkReplayVersion FHttpNetworkReplayStreamer::ReplayVersion

◆ ResponseCache

TMap< FString, FCachedResponse > FHttpNetworkReplayStreamer::ResponseCache

◆ ServerURL

FString FHttpNetworkReplayStreamer::ServerURL

◆ SessionName

FString FHttpNetworkReplayStreamer::SessionName

◆ StartStreamingDelegate

FStartStreamingCallback FHttpNetworkReplayStreamer::StartStreamingDelegate

◆ StreamArchive

FHttpStreamFArchive FHttpNetworkReplayStreamer::StreamArchive

◆ StreamChunkIndex

int32 FHttpNetworkReplayStreamer::StreamChunkIndex

◆ StreamerState

EReplayStreamerState FHttpNetworkReplayStreamer::StreamerState

◆ StreamMetadata

FString FHttpNetworkReplayStreamer::StreamMetadata

◆ StreamTimeRangeEnd

uint32 FHttpNetworkReplayStreamer::StreamTimeRangeEnd

◆ StreamTimeRangeStart

uint32 FHttpNetworkReplayStreamer::StreamTimeRangeStart

◆ TotalDemoTimeInMS

uint32 FHttpNetworkReplayStreamer::TotalDemoTimeInMS

◆ TotalUploadBytes

uint64 FHttpNetworkReplayStreamer::TotalUploadBytes

◆ ViewerName

FString FHttpNetworkReplayStreamer::ViewerName

The documentation for this class was generated from the following files: