How to record player camera in game?

Hi, I’m trying to make a blueprint that allows the player to record what it sees. My first approach was to use the console command “Record Sequence actor [MyActor]” in order to record what the player’s camera sees. The problem here is that the camera doesn’t move at all and stays always in the same position. Do you know how to move the recording camera with the player?
Or, if this is not the correct approach, can you tell me which is it?
Thank you in advance guys!