/Engine/Source/Runtime/MediaUtils/Public/MediaRecorder.h
Blocking call that will wait for all frames to be recorded before returning.
bool WaitPendingTasks ( const [FTimespan](API\Runtime\Core\Misc\FTimespan) & InDuration )