connect-wami

Connect middleware for WAMI Recorder.

npm install connect-wami
1 downloads in the last week
12 downloads in the last month

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"
});
npm loves you