Have you tried to connect with others?
UInt32 doSetProperty = 1; AudioSessionSetProperty(kAudioSessionProperty_OverrideCategoryMixWithOthers, sizeof(UInt32), &doSetProperty);
In most cases, "must have" when trying to record and play at the same time.
source share