Skip to content
Connect middleware for WAMI Recorder.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

connect-wami

Connect middleware for WAMI Recorder.

A recording object containing the path, name, size and type of the recording are stored in request.files.audio.

Usage

Simply drop wami-connect into your app like so:

var expressApp = require('express')()
  , wami = require('connect-wami');

expressApp.use(wami());

expressApp.post('/recording', function (req, res) {
  var rec = req.files.audio;
  console.log(rec.path); // "/path/to/audio/file"
});
Something went wrong with that request. Please try again.