Give us feedback
Mobile icon

AudioInput Plugin

Stable version 1.0.4 (Compatible with OutSystems 11)
Uploaded on 07 June 2022 by 
 (0 ratings)

AudioInput Plugin

Uses the AudioInput plugin v1.0.1 from Use to capture audio from microphone using ios and android devices
Read more

Implements GitHub - edimuj/cordova-plugin-audioinput

This Cordova plugin enables audio capture from the device microphone, by in (near) real-time forwarding raw audio data to the web layer of your web application. A typical usage scenario for this plugin would be to use the captured microphone audio as an audio source for Web audio API based applications.

Since Navigator.getUserMedia() and Navigator.mediaDevices.getUserMedia() aren't supported by all browsers, this plugin provides similar functionality.

The plugin supports two different methods for microphone capture:

  1. Let the plugin handle the encoding of raw data by using the audioinput object as an AudioNode, which can be connected to your Web audio API node chain.
  2. Subscribing to audioinput events in order to receive chunks of raw audio data, which then can be processed by your app. Using this method doesn't require Web audio support on the device.

Supported Platforms

  • Android
  • iOS
  • browser

The MIT License (MIT)

Copyright (c) 2016 Edin Mujkanovic

Release notes (1.0.4)
  • Adds a functionality that detects automatically stops recording when the user stops talking
  • Modified the Block that will trigger an event when the user stops talking
  • Removed most of the console logs from JS
  • Added descriptions to reusable elements
  • Updated the demo app. Added a demo for silence detection
  • Remove the JQuery require script from the block since it is not needed
Reviews (0)