Media With Compression Plugin

Stable version 1.0.0 (Compatible with OutSystems 11)
Also available for 10
Published on 23 November 2017 by 
 (2 ratings)

Media With Compression Plugin

Media plugin including compression and other features
Read more

This plugin is a modified version of cordova-plugin-media that provides the ability to record and play back audio files on a device. Included are new methods (iOS and Android only) to pause recording, resume recording and to query the audio input power levels.  This plugin is also a modified version of cordova-plugin-media-with-compression created by Bob Moore of Alpha Software.  Bob added the compression options and the ability to pause and continue a recording.

New methods include (iOS and Android only):

recordAudioWithCompression(options): The options object includes the NumberOfChannels and the SampleRate. See the recordAudioWithCompression method description below for further details.

The NumberOfChannels options is currently a static value of 1.  This plugin wrapper could be easily modified to include this option as a variable.

Also available is a sample Mobile application: MediaWithCompressionApp.  This app demonstrates the use of the plugin.  I can't see how to include this app here or how to include a link to download it from my personal environment... if that's possible.

iOS and Android testing has been done.  Android audio files are, by default, located in the sdcard folder.

Using the sample app, a right-to-left swipe on a row in the Audio Recordings List will delete that row from the List, but does NOT delete the recording itself.

What’s new (1.0.0)
Reviews (0)