I'm trying to record audio from bluetooth (SDK 1.6) with no luck. I can recording from the phone microphone with this code:
m_recordingcontrol = new MediaRecorder();
However when I pair and connect the phone to a bluetooth headset and try to set the audio source to any of:
4 VOICE_CALL Voice call uplink + downlink audio source
3 VOICE_DOWNLINK Voice call downlink (Rx) audio source
2 VOICE_UPLINK Voice call uplink (Tx) audio source
I get exceptions when I prepare/start.
Has anyone been able to record with this? Or know which one I should be trying to record with (I first assumed VOICE_CALL).