We're using the iOS GVR SDK with the Audio API for playback but we also want to enable audio recording which we're doing through AVAudioRecorder. To do this, we need to set the AVAudioSession's category to AVAudioSessionCategoryRecord or AVAudioSessionCategoryRecordAndPlayback.
Hi,
We're using the iOS GVR SDK with the Audio API for playback but we also want to enable audio recording which we're doing through AVAudioRecorder. To do this, we need to set the AVAudioSession's category to AVAudioSessionCategoryRecord or AVAudioSessionCategoryRecordAndPlayback.
However, it seems like the GVR AudioApi object (https://developers.google.com/vr/android/ndk/reference/class/gvr/audio-api) is constantly changing the category back to AVAudioSessionCategoryAmbientSolo which is causing my AVAudioRecorder to stop recording audio.
We're using the following pod versions: