Media With Compression Plugin
This plugin allows you to record audio with compression.
The Media With Compression plugin, developed by Alpha Software, is a modified version of cordova-plugin-media that provides the ability to record and play back audio files on a mobile device. This plugin adds MPEG4 compression to both iOS and Android audio recording, making the recordings compatible for playback on either an iOS or Android device and within most modern browsers. MPEG4 compression typically results in a significant reduction in the recorded audio file size when compared to the stock Media plugin. The reduction in file size is required for efficient online/offline storage and retrieval of the audio files.
See GitHub: cordova-plugin-media-with-compression for the full documentation.
The following methods are available for use with this plugin:
Pause the current audio recording session in progress.
Resume audio recording with the existing session.
Returns the averagePower and peakPower in dB (iOS) or an approximation of dB SPL (Android).
Android, iOS, Windows