Some months ago, with Android ICS (4.0), I developed an android kernel module which intercepted the \"pcmC0D0p\"-module to fetch all system audio.
My target is to st
You must pass audio traffic through your local socket server:
Create local socket server
Modify audio http stream address to path is thru your local socket server, for example for address
http://example.com/stream.mp3 ->
http://127.0.0.1:8888/http://example.com/stream.mp3
where 8888 is your socket port.
Play
http://127.0.0.1:8888/http://example.com/stream.mp3
with default media player
Read all incoming requests to port 8888 in your local socket server, analyze it and pass to example.com server.
Read response from example.com and pass it to local client (media player). HERE you can capture audio stream!