I am working on an android VNC project which I must send the audio to the client together with the frame!
Now I can:
1,Send the frame to the target;
2,Use the audiorecord to record the voice from the MIC and send it to the client use the RTP protocol.
I also want to send the audio to the client which is playing (music etc.)when the client connected to the server!
But I don't know how to the get the decoded data of the playing audio, just like the VNC which can send the Framebuffer to the client!
If you have any idea please help me, I need the solution for this problem very urgently!
Thanks for your reading.
Sorry for my poor English!