Myzel394 / Alibi

Use your phone as a dashcam and save the last 30 minutes when you need them.
GNU General Public License v3.0
458 stars 26 forks source link

Recording during phone calls? #92

Closed xandro0777 closed 6 months ago

xandro0777 commented 6 months ago

Would it be doable to record at least my own voice?

Myzel394 commented 6 months ago

Okay so after some research, here's what I found out:

With the newest Android versions, it looks like it's not possible for Alibi to record anything during a phone call. The sound will instead be silenced completely. If you accept a call, this call recording your voice takes much more priority over Alibi.

Unfortunately, there seems to be a lot of ambiguity regarding recording phone calls. Some vendors apparently also apply specific rules because it's illegal to record phone calls in some countries. I couldn't find much information online, the best (modern) resource was this StackOverflow answer stating:

When the phone call starts Mic access is moved to the priority app which is the voice call itself and its handling app. Your app will no longer have access to the mic if it's an ordinary app. However if your app has an Accessibility service you can share the microphone


There are apparently some tricks by making Alibi an admin app, rooting your phone or installing Alibi as a system app. However, I will not support any of those methods, sorry.