3

使用 mediarecorder 录制通话,将音频源设置为

MediaRecorder.AudioSource.VOICE_CALL

在三星 Galaxy S2 (Android 2.3.4) 上不起作用,在应用程序中冻结并且没有创建录音(VOICE_UPLINK/VOICE_DOWNLINK 都可以,但只记录上行/下行链路,而不是双方的声音)。

但是,例如 CallRecorder 应用程序(来自 Android Market)确实可以工作(记录双方的声音)。所以这是可能的。

它是如何完成的?

4

1 回答 1

1

I am trying to record through AudioSource.CAMCORDER on a Galaxy S2, but I have the same issue; I get no samples. Actually, I tried to have two audio sources, .MIC and .CAMCORDER, recording separate samples, but I guess, just like khan said, .MIC will probably work.

于 2012-05-23T14:36:24.000 回答