marinofaggiana 3 سال پیش
والد
کامیت
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