I implemented live game recording and playback in my engine. It needs a timeline scrubber for quickly finding the frame you want, but the tech is there https://youtu.be/2QjMoDR9bFY