I’m using the cordova-plugin-media (https://github.com/apache/cordova-plugin-media/blob/master/doc/index.md) to let users record their voice.
The plugin defines a media object:
my_media = new Media(src, onSuccess, onError)
And it comes with a bunch of API methods like startRecord() and stopRecord() that can operate on the media object. Once the user has finished recording, I can call the Play() method on the media object to playback the recording. All of this works fine for me, but I am not sure how to grab the actual audio file so I can post it ($http.post) to my server. Any help is appreciated.