I want to record a call that is called by my application for the call test purposes. We record a call and compare it with a high-quality WAV file to determine the call quality. But the call recording APIs are not working anymore in the latest Android. For testing, we provide a rooted device to the client. So, I am thinking if we can record a call at the system level.
I have already tried it with Superpowered SDK on Android Q but no luck.
I have found a Magisk Module called callrecorder-skvalex which is already doing what I need.
If anyone can list the steps that are required to achieve this goal, I will be very thankful to him.
[email protected]
which interfaces Android framework won't be able to capture and play. Sharing is possible using native tools (like ALSA'spcm.multi
if I'm not wrong) but I don't think that would be possible without integrating with Android's native/Java framework.CAPTURE_AUDIO_OUTPUT
permission that uses Android's Java/native APIs and doesn't have to take care of sharing itself: developer.android.com/guide/topics/media/…. That's whatcallrecorder-skvalex
is doing. Some apps also make use of Accessibility feature.