capacitor-microphone
capacitor-microphone copied to clipboard
Crash on stopRecord when microphone is used by an other app like teams
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