if (!recorder.IsRecording)
{
     await recorder.StartRecording();
}