I would like to create a solution where I am able to access the phone call's audio stream and stream it real-time to a remote server. I belive there is no official app that would do this to me, and also I guess I will have to use a rooted android to make it possible, so I would like to get some guidance.
It is certain that the android OS has access to the phone call's audio stream, since phone calls in their entireity can be saved via several apps, so I belive streaming it to a server should not be an impossible task.
Since I have no experience in Android development, could anyone give me some information where to start?
P.S.: I know a similar question has been asked before /Android Phone call stream, but that thread is over 5 years old.