void OnRecordStopped() { logger += "Recording ended"; StopMicrophone(); AllowAutorotation(true); Utils.Inst.Shedule(() => { MuteSpeakers(false); if (PostRecordStoped != null) { PostRecordStoped(); } }, delayAfterRecordEnded); Everyplay.GetFilepath(); // сохранение видео в кеш с вызовом события по завершению logger += "File prepearing..."; }