Question

I am beginner in android development and felt like google documentation is not able to help me out. So if anyone knows whether it is possible to send an audio file directly to uplink in between a call? Also share how incase it is possible.

Was it helpful?

Solution

There are no Android APIs that allow you to access, read or write to the audio stream in a call. If any manufacturer provides these APIs, I am not aware of them.

The reason for this is that, at least for AOSP Android, the call part of the device is handled on a hardware level, and not much control is available to Android itself.

It is not possible via the NDK either. The only way you'd have a chance of achieving this is if you were to modify and build Android directly from source.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top