marinofaggiana 4 년 전
부모
커밋
fcc209aeb8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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