10

Is it possible to modify an active call by overlaying a sound track during the call? I looked up the SDK, but couldn't find any API to do this in the documentation.

I am trying to investigate the feasibility of playing a previously recorded call/audio clip onto an ongoing call.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Shoan
  • 4,003
  • 1
  • 26
  • 29

1 Answers1

9

Is it possible to modify an active call by overlaying a sound track during the call?

No, sorry, there is no API to access the in-call audio stream.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    Is call recording possible then? How would it work without access to the in-call audio stream? – Shoan Oct 10 '10 at 16:42
  • @Shoan: "Is call recording possible then?" -- not that I am aware of. There are some tricks people play by having the device in speakerphone mode, but that's about it. – CommonsWare Oct 10 '10 at 17:03
  • 1
    Where did you get this information? Is this documented somewhere? I have a client asking for this and I'd like to tell them it's not possible but I'm not sure this stack-o answer will cut it. – typeoneerror Oct 13 '10 at 01:51
  • @Typeoneerror: 2009 Google I|O Conference, Android "Fireside Chat" session. The in-call audio apparently does not even make it into the operating system. – CommonsWare Oct 13 '10 at 11:23
  • In our case, we modified the framework layer to make it work. – artsylar Jan 13 '12 at 05:25
  • @CommonsWare There is no direct API for that..agreed, i am just curious of how the fake sounds application work.. I am trying to play an audio through the speaker, microphone catching it is enough for me – Pararth Dec 11 '14 at 12:45