I need to record audio and then send the recorded clip to server every 5 seconds. For example, at 5 seconds after recording started, you will send 5 seconds clip. Another 5 seconds after, it will send total 10 seconds clip from the start to the end.
How can I do?
I'm following this Android AudioRecord class - process live mic audio quickly, set up callback function
However, it's not working.