Android Phone Call Stream

Is it possible in Android to manage phone call data before sending it? (for example, by creating a buffer where the voice is recorded and then sent) or inaccessible, and should always be β€œlive”?

+4
source share
3 answers

Sorry no. There is no supported way for the Android application to interact with the audio stream from a phone call.

+3
source

Unlike most other audio, voice call sound is usually processed entirely by the modem subsystem. Thus, the modem processor and its associated DSP (s) (if any) have access to the sound of a voice call, but the application processor does not or at least do not change it in any way.

Some platforms allow the application processor to read uplink / downlink audio either in compressed form (AMR) or after decoding (PCM). But no platform used for Android devices that I know of has (full) support for data input in an uplink. If they are, it will be a completely non-standard function.

+2
source

Try making C code with JNI. Also I would recommend p_thread. Since Android does not control such flows.

0
source

Source: https://habr.com/ru/post/1435467/


All Articles