How to record and playback but with a specified delay

Just make a queue that holds 20 seconds of frames.