marinofaggiana 3 years ago
parent
commit
fcc209aeb8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Main/AudioRecorder/NCAudioRecorderViewController.swift

+ 2 - 0
iOSClient/Main/AudioRecorder/NCAudioRecorderViewController.swift

@@ -213,6 +213,8 @@ open class NCAudioRecorder : NSObject {
             try prepare()
         }
         
+        try session.overrideOutputAudioPort(AVAudioSession.PortOverride.speaker)
+
         recorder?.record()
         state = .record