esnyder / callrecorder

Toy Android app to do call recording.
GNU General Public License v3.0
130 stars 93 forks source link

CallRecorder -- Toy project to learn about Android programming.

Thread about VOICE_CALL not getting both sides of conversation: http://code.google.com/p/android/issues/detail?id=2117

Prior to API v4 the possible audio source for recording audio on the handset was limited to the microphone; in order to do call recording people resorted to putting the phone in speakerphone mode and just accepting the crappy recording quality.

API v4 introduced 3 new sources:

VOICE_UPLINK VOICE_DOWNLINK VOICE_CALL

which are supposed to provide what you might expect from the names: what you're saying, what the person on the other end is saying, or both together respectively.

From what I can tell VOICE_CALL didn't actually work right in v4 (various complaints in the referenced thread and other conversations online, and the emulator barfs when trying to record from VOICE_CALL for v4 image but not with later versions.)

At this point I need to play with some real hardware at different SDK levels to get some real data on that issue. I had the bright idea to try recording from UPLINK and DOWNLINK simultaneously on different threads and mix in software; but I don't know if that will work (or be necessary) without being able to test on real handsets.

Other things I would like to try out with this testbed: