ReplayKit and kAudioUnitSubType_VoiceProcessingIO

We find that ReplayKit as of iOS 9.3.2 (haven't tested in iOS 10) is unable to record audio output when the audio unit sub type is kAudioUnitSubType_VoiceProcessingIO and ReplayKit is used via startRecordingWithMicrophoneEnabled(false). When we switch to using sub type kAudioUnitSubType_RemoteIO, ReplayKit works as expected. This is for a live video app where viewers receive live video and audio. We do not use AVPlayer (AVPlayer is the only incompatibility listed in the docs).



Are there any workarounds that will allow use of kAudioUnitSubType_VoiceProcessingIO with ReplayKit?



Thanks,



Robert

Replies

We found the same problem. We are using kAudioUnitSubType_VoiceProcessingIO for audio processing, but the ReplayKit always fails to record the audio...


Is these any fix to this problem?

Guys, record video only, and capture theAVAudioPCMBuffer as a standalong audio track, when finished recording, combine the audio and video.