问题描述
使用mediarecorder通话录音,在音频源设置为
Using mediarecorder to record calls, with setting the audio source to
MediaRecorder.AudioSource.VOICE_CALL
MediaRecorder.AudioSource.VOICE_CALL
不会对三星Galaxy S2(Android版2.3.4)工作,在应用程序死机,没有记录被创建(VOICE_UPLINK / VOICE_DOWNLINK都工作,但只记录多达/下行链路,而不是两个方语音)。
does not work on Samsung Galaxy S2 (Android 2.3.4), in the application freezes and no recording is created (VOICE_UPLINK/VOICE_DOWNLINK both work, but only record up/downlink, not both party voice).
但是,例如(从Android Market)的应用CallRecorder没有工作(同时录制声音派对)。所以这是可能的。
However, e.g. the CallRecorder application (from Android Market) does work (recording both party voices). So it's possible.
这是如何做呢?
推荐答案
我想通过 AudioSource.CAMCORDER
在银河S2记录,但我有同样的问题;我没有得到任何样品。其实,我想有两个音频源, .MIC
和 .CAMCORDER
,记录样品分开,但我想,就像汗说, .MIC
可能会工作。
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.
这篇关于MediaRecorder.AudioSource.VOICE_CALL不会对SGS2工作(电话录音)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!