connect-wami
v0.1.1
Published
Connect middleware for WAMI Recorder.
Downloads
7
Readme
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"
});