Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Record a call through MIC on Samsung devices (Android 7.0)

Tags:

java

android

I've simple Android app that record a call and it works fine on Android 6 + Samsung devices (both with MIC source and VOICE_COMMUNICATION). But once Samsung devices updated to Nougat (for ex. S7 / S7 Edge) these methods to record a call failed :( MIC record only my voice but not opponent voice and VOICE_COMMUNICATION does not works at all.

Could anybody advice what can be done here?

like image 954
Sergey Avatar asked Oct 30 '22 09:10

Sergey


1 Answers

same problem. still looking for the answer.

I've got a samsung s7. Firstly, I'v unlocked native recorder (in dialer) and it's works. So, android 7 (and samsung) can record calls without inner actions inside of Android. But, in the same time I've read that developers can't get the access to recording calls from higher level. It seems like there's only one way to achieve our goals: modification of stock Android's version or catch sound stream before it gets to speaker. Fix me if I wrong.

like image 90
Eugene Lesnov Avatar answered Nov 15 '22 04:11

Eugene Lesnov