local-audio-recorder
A local audio recorder (no streaming server required). Currently requires Flash Player 10.1 or above.
####Features
- Records in MP3 or WAV format
- Sends recordings to your server via HTTP POST
- POST URL is configurable - send recordings anywhere you need to
- Field name is configurable to suit your server-side handler
- Additional fields (with their values) can be specified and will be included
- Optionally passes the filename and file content to a JavaScript callback instead of performing a POST
- A default filename can be specified
- Force a specific filename if desired
####Live demo There is a basic demonstration of using the Local Audio Recorder with a JavaScript callback. This demo requires a browser which supports JavaScript, the HTML5 audio element and Typed Arrays.
####Options The following are the standard options, specified as flashvars. Any additional parameters passed as flashvars will be added to the POST request as extra fields, with names and values as per the flasvars.
gateway
: URL to send POST request to, or "form" to use a JavaScript callback.filefield
: Name of the field to upload the file under, if local-audio-recorder is handling the POST request for you.callback
: JavaScript callback; takes two parameters: the file name and the file data.filename
: Default file name.forcename
: If this parameter is specified (with any value), the file name provided in the "filename" field will be enforced.format
: Output format. Set to "wav" to have local-audio-recorder produce a WAV file; otherwise it will default to MP3.