When you enable the background recording feature of the Windows 10 "game bar", so that you can record a (by default) 30-second clip on demand, where is the ongoing recording stored? "In memory" would be believable, as it would only take a few hundred megabytes as a rough estimate, but if it's "on disk", then those of us with SSDs might want to redirect it from its default location, with a symlink if necessary. If it is on disk, then where?
To be clear, I'm referring to the temporary data that is in use by the background recording feature before you save a clip. The location in which finalized clips are saved is easily discoverable.
If the version matters, I'm specifically interested in Windows 10 1909, but a more general answer could be useful.