Android. Call recording

2019-06-01 06:18发布

My app records calls using standard MediaRecorder. After a few seconds after incoming call started, starting call recording (MediaRecorder.start). After this, interlocutor hear me very bad. If I connect/disconnect headphones during recording, then problem disappeared. How do resolve the problem programmatically?

3条回答
Deceive 欺骗
2楼-- · 2019-06-01 07:07

I've resolved this problem. AudioManager.setSpeakerphoneOn() true then false helped me. Thanks to all.

查看更多
\"骚年 ilove
3楼-- · 2019-06-01 07:10

Plus it is illegal unless you follow some very strict guidelines, see the link.

http://transition.fcc.gov/cgb/consumerfacts/recordcalls.html

查看更多
Explosion°爆炸
4楼-- · 2019-06-01 07:15

From what I understand, this is possible on some phones, but the general answer is that you can't record calls. The streams for voice are in a lower level of the operating system and aren't accessible on the "application level".

查看更多
登录 后发表回答