I am working on an application. the scope of the application is to take input audio via Bluetooth microphone and output audio should go to the iPhone Native Jack. I was working with AVAudioSesion
class Using Following code:-
UInt32 allowBluetoothInput = 1;
AudioSessionSetProperty (kAudioSessionProperty_OverrideCategoryEnableBluetoothInput, sizeof (allowBluetoothInput), &allowBluetoothInput);
When i use this code this code route the input via Bluetooth
but at same time it also route the output also to the same Bluetooth device. I just want a solution for this problem. You can suggest any third party library also. Or if Any New API introduced by Apple with iOS 8
then it will also work.