Cordova Audio Recorder API Plugin
Introduction:
This plugin is a Cordova audio recorder plugin that works as API.
Different than http://plugins.cordova.io/#/package/org.apache.cordova.media-capture this plugin does not request the native recorder app (system default recorder) and active recording manually.
Supports platforms:
- iOS
- Android
Install:
$ cordova plugin add cordova-plugin-audio-recorder-api
How to use:
var recorder = ;recorder { windowpluginsaudioRecorderAPI;}recorder { windowpluginsaudioRecorderAPI; // record 30 seconds}recorder { windowpluginsaudioRecorderAPI;}
Where are files save?
iOS: /var/mobile/Applications/<UUID>/Library/NoCloud/<file-id>.m4a
Android: /data/data/<app-id>/files/<file-id>.m4a
Copy File to Another Place
Example with file plugin: http://ngcordova.com/docs/plugins/file/
iOS: /var/mobile/Applications/<UUID>/Documents/new_file.m4a
Android: <sdcard>/new_file.m4a
windowpluginsaudioRecorderAPI;