iOS - Streaming and receiving audio from a device to another ends in one only sending and the other only receiving
问题 My app is basically a phone call over MultipeerConnectivity. Here is how I'm setting up the audio session: Note that recordingSession is of type AVAudioSession and captureSession is of type AVCaptureSession. func setupAVRecorder() { print("\(#file) > \(#function) > Entry") do { try recordingSession.setCategory(AVAudioSessionCategoryPlayAndRecord) try recordingSession.setMode(AVAudioSessionModeVoiceChat) try recordingSession.setPreferredSampleRate(44100.00) try recordingSession