Commit Graph

63 Commits

Author SHA1 Message Date
brian bekich
bef70da1c7 Add overload of AddRequestToCache that is move aware
Trim memory from stream archive before appending new chunk to avoid realloc when possible
Adding Reset method to FLocalFileStreamFArchive
Empty -> Reset on internal archive buffers that are frequently reused

#rb ryan.gerleve

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19479781 via CL 19482266 via CL 19485254 via CL 19494862 via CL 19495149
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19498417 by brian bekich in ue5-main branch]
2022-03-24 13:27:01 -04:00
brian bekich
246949a72b Adding AppendReplayCommonAttributes to the replay streamer interface that calls new static INetworkReplayStreamer::OnReplayGetAnalyticsAttributes
Replay streamer interface adjustments for common analytics needs

#rb ryan.gerleve, jason.adcock

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19407565 via CL 19411318 via CL 19425242 via CL 19425363
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429479 by brian bekich in ue5-main branch]
2022-03-17 19:06:28 -04:00
jason adcock
4473ccaa7e Issue: Replay playback does not start at 0.
Problem: We are updating DemoCurrentTime in TickDemoPlayback before the ReplayStreamer has any data.
Fix: Make sure we dont update time before we have data to play.

#jira UE-134367
#rb brian.bekich

#ROBOMERGE-AUTHOR: jason.adcock
#ROBOMERGE-SOURCE: CL 18869134 via CL 18869157 via CL 18869176 via CL 18870527 via CL 18870956
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18871011 by jason adcock in ue5-main branch]
2022-02-04 15:06:34 -05:00
justin marcus
bfd4fba736 Allow clean-up of temp replay files saved to persistent storage by FSaveGameNetworkReplayStreamer if deleting normal cached replays doesn't free enough space.
[REVIEW] [at]Brian.Bekich [at]Jon.Nabozny [at]Daniel.Lamb
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18834444 via CL 18835811 via CL 18836032 via CL 18836118 via CL 18845055 via CL 18845719
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18845795 by justin marcus in ue5-main branch]
2022-02-03 13:26:09 -05:00
justin marcus
a9b1526dbd Fix some bugs in FLocalFileNetworkReplayStreamer::GetDemoFreeStorageSpace()
- Fix not falling back to a physical space check if the managed storage quota is unlimited.
- Fixed some comparisions where 0 should have been a valid value.
- Fixed returning total physical size instead of free physical size.
- If the demo save directory doesn't exist, create it so we can get sizes even before demos have been saved.
[REVIEW] [at]Daniel.Lamb [at]Brian.Bekich [at]Ryan.Gerleve
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18665008 via CL 18673442 via CL 18673460 via CL 18673473 via CL 18674303 via CL 18674323 via CL 18674373
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679690 by justin marcus in ue5-main branch]
2022-01-20 15:20:46 -05:00
justin marcus
e26cc033e5 Fix replay cleanup code using the wrong path when cleaning replays at startup on console. This meant that replays wouldn't be cleaned up until another one was saved.
[REVIEW] [at]Daniel.Lamb
#rb [at]Brian.Bekich
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18660910 via CL 18665136 via CL 18665806 via CL 18665975 via CL 18667781 via CL 18667828 via CL 18668189
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18668378 by justin marcus in ue5-main branch]
2022-01-19 18:29:27 -05:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Chris Varnsverry
16230185c0 - Merge CL's 15977926, 15978323, 15978393, 15978401 and 15981176 from //UE5/RES to //UE5/Main
- Moves CoreOnline headers into their own module

#jira UE-113427
#fyi Matt.Peters
#tests built EdTest, QAGame, and one internal project in DevEd Win64

[CL 16036320 by Chris Varnsverry in ue5-main branch]
2021-04-16 13:16:39 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
brian bekich
a083ae7254 Fix to respect the cached in memory chunk loading path, and not generate errors on scrub.
[FYI] ryan.gerleve, ben.hinchliffe

#ROBOMERGE-SOURCE: CL 13187536 via CL 13191327 via CL 13191401 via CL 13191547
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13191582 by brian bekich in Main branch]
2020-05-05 18:38:50 -04:00
brian bekich
415b1d6db1 Adding"localReplay.AllowEncryptedRecording" in non-shipping builds to forcably disable replay encryption
#rb jon.nabozny

#ROBOMERGE-SOURCE: CL 13059224 via CL 13059225 via CL 13059228 via CL 13059230
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13059235 by brian bekich in Main branch]
2020-04-28 15:03:09 -04:00
brian bekich
14e042ed85 Failing to uncompress/decrypt a stream chunk will now fail playback
#rb ryan.gerleve

#ROBOMERGE-SOURCE: CL 13044071 via CL 13044073 via CL 13044074
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13048203 by brian bekich in Main branch]
2020-04-27 12:51:53 -04:00
ben hinchliffe
1be1c3bd90 Log the amount of space available when we begin replay recording
[FYI] brian.bekich, jon.nabozny


#ROBOMERGE-OWNER: ben.hinchliffe
#ROBOMERGE-AUTHOR: ben.hinchliffe
#ROBOMERGE-SOURCE: CL 12161661 via CL 12161662 via CL 12161700
#ROBOMERGE-BOT: (v661-12148976)

[CL 12161706 by ben hinchliffe in Main branch]
2020-03-13 07:37:45 -04:00
brian bekich
91f28d3bdd Removing deprecated replay streamer calls that were using user strings
(and thus, references to GWorld)

#rb ryan.gerleve, jon.nabozny


#ROBOMERGE-SOURCE: CL 11215614 via CL 11215622
#ROBOMERGE-BOT: (v644-11213502)

[CL 11224997 by brian bekich in Main branch]
2020-02-04 17:59:03 -05:00
Ryan Gerleve
35e095a9d8 Copying //UE4/Dev-Networking @ CL 11201841 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11202190 by Ryan Gerleve in Main branch]
2020-01-31 18:46:22 -05:00
brian bekich
d23b09f917 Add check for valid replay file name in StartStreaming
#jira UE-86026
#rb jon.nabozny, ryan.gerleve


#ROBOMERGE-SOURCE: CL 10971263 via CL 10973511 via CL 10973548
#ROBOMERGE-BOT: (v632-10940481)

[CL 10973925 by brian bekich in Main branch]
2020-01-13 20:04:27 -05:00
brian bekich
0182ea3ae7 Add ability to encrypt local file replay chunks
#rb ryan.gerleve, jon.nabozny


#ROBOMERGE-SOURCE: CL 10957656 via CL 10972811 via CL 10972870
#ROBOMERGE-BOT: (v632-10940481)

[CL 10972938 by brian bekich in Main branch]
2020-01-13 19:40:19 -05:00
peter engstrom
83c804462c Updating copyright for Engine Runtime.
#rnx
#rb none

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 via CL 10870549
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v624-10872983)

[CL 10874720 by peter engstrom in Dev-Networking branch]
2020-01-03 09:45:29 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
brian bekich
5b6c8c4a32 Adjusting function moves in local file streamer
#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 8556736 via CL 8562503 via CL 8562673
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) (v408-8574093)

[CL 8602668 by brian bekich in Dev-Networking branch]
2019-09-10 05:44:02 -04:00
brian bekich
2a9ffaca15 Adjusting function moves in local file streamer
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 8556736 via CL 8562503
#ROBOMERGE-BOT: (v406-8472469)

[CL 8562673 by brian bekich in Main branch]
2019-09-06 18:56:53 -04:00
brian bekich
e42672b8b1 Fixing circular dependency with engine and replay streamer interface
#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 6858558 via CL 6858559 via CL 6858601 via CL 6858605
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) (v366-6836689)

[CL 6882694 by brian bekich in Dev-Networking branch]
2019-06-07 09:22:15 -04:00
brian bekich
e86826deb4 Replay interface changes to pass the demo url into the streamer
#rb ryan.gerleve, evan.kinney

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 6856445 via CL 6856586 via CL 6857764 via CL 6857820
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) (v366-6836689)

[CL 6881918 by brian bekich in Dev-Networking branch]
2019-06-07 08:54:38 -04:00