Add support for pause/resume recording