Record audio and upload recorded file at the same time


#1

Currently I am developing the android application like Shazam which could listen and recognise the song title from the recording audio.

To record the audio, I am using this plugin - https://cordova.apache.org/docs/en/2.8.0/cordova/media/media.startRecord.html

But the problem with this plugin is that it only saves the file once it call media.stopRecord(). I need to upload the audio file to server every interval without stopping the recording.

How could I achieve that?