简体   繁体   中英

Android 13 Call recording both sides

From Android 10, I have to use Accessibility access and you can record a call using MediaRecorder with the source voice recognition. The problem is that on some devices the recording is not both ways - there is only one voice.

This is the basic implementation with MediaRecorder:

MediaRecorder recorder=new MediaRecorder(); 
recorder.setAudioSource(AudioSource.VOICE_RECOGNITION); 
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.HE_AAC); 
recorder.prepare(); Thread.sleep(2000); recorder.start();

I tested Cube ACR from Google play. They have an option to set the audio source to "voice recognition software". If this is enabled, you can get both sides of the conversation.

I did not find something on the Inte.net related to "voice recognition software". Does anyone know how to do this? - maybe a github project

Does anyone have a solution about recording both parts of the conversation that works on the new versions of Android? Android 12 or Android 13.

Thanks

Cube ACR seems to have the same issue. See: https://cube-call-recorder-acr.en.softonic.com/android . In the "cons" they say:

In some instances two-way audio may not be recorded

See also this stackoverflow question: How to determine if speech recognition is supported on a device?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM