I want to record audio from user using cordova. On research I found two plugins which seems to do the job. First media plugin and other media capture plugin. Now my question is can I record audio from both plugin or the media plugin is only for recording from existing audio file? If I can do recording from both which one should I use?
The function media.startRecord from the media plugin allows to record audio from within your application whereas the function capture.captureAudio from media capture plugin will start the default audio capture app of your device and let you access the recorded data once you exit that app.
So with media plugin the user will stay in your UI and with media capture plugin the user will switch from your app to a capture app and back to your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With