Changed API from requesting each frame to record to a more abstract, high-level design.