Android 13 通话录音双方

huangapple go评论71阅读模式
英文:

Android 13 Call recording both sides

问题

从Android 10开始,我必须使用辅助功能来访问,并且您可以使用MediaRecorder来记录呼叫,音频源选择语音识别。问题是在某些设备上,录音不是双向的 - 只有一方的声音。

以下是使用MediaRecorder的基本实现:

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

我测试了来自Google Play的Cube ACR。他们有一个选项可以将音频源设置为“语音识别软件”。如果启用此选项,您可以获取对话的双方声音。

我没有在互联网上找到与“语音识别软件”相关的信息。有人知道如何做到这一点吗?也许有一个GitHub项目。

有人有关于在新版本的Android上(例如Android 12或Android 13)记录对话的双方声音的解决方案吗?

谢谢。

英文:

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 Internet 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

答案1

得分: 1

Cube ACR似乎存在相同问题。请参见:https://cube-call-recorder-acr.en.softonic.com/android。在“缺点”部分中,他们说:

在某些情况下,可能无法录制双向音频

另请参阅此stackoverflow问题:https://stackoverflow.com/questions/20551511/how-to-determine-if-speech-recognition-is-supported-on-a-device

英文:

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: https://stackoverflow.com/questions/20551511/how-to-determine-if-speech-recognition-is-supported-on-a-device

答案2

得分: 0

你也可以尝试使用这个来自动记录通话,甚至是来自 WhatsApp 的通话录音。
https://play.google.com/store/apps/datasafety?id=com.sparklingapps.callrecorder

英文:

you can give this a try as well to automate record call recording even from whtsapp
https://play.google.com/store/apps/datasafety?id=com.sparklingapps.callrecorder

huangapple
  • 本文由 发表于 2023年5月25日 19:38:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/76331858.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定