capacitor-microphone icon indicating copy to clipboard operation
capacitor-microphone copied to clipboard

Crash on stopRecord when microphone is used by an other app like teams

Open karimBenBechir opened this issue 2 years ago • 0 comments

When microphone is used by an other app, "startRecording" return 'cannot record on this phone' and returns 'recording in progress' when triggering one again. How can the record be in progress if "startRecording" throws error ? Calling "stopRecording" when "Recording in progress" crash the app and throws this error: Thread 7: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value

karimBenBechir avatar Nov 09 '22 18:11 karimBenBechir