1.0.5 • Published 3 years ago

simple-web-recording v1.0.5

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

simple-web-recording

Simple web recording using WebAudio

Install

simple-web-recording

or

npm install https://github.com/effus/simple-web-recording.git

Usage

import SimpleWebRecording from 'simple-web-recording';

const recorder = new SimpleWebRecording();

// set each chunk time in ms (default is 1000)
recorder.setChunkTime(2000);

recorder.onChunkReady = (lastChunkBlob) => {
    // do something with chunk
}
recorder.onStop = (blobMedia) => {
    // do something with media stream
}

// start recording
recorder.startRecord();
// stop recording
recorder.stopRecord();

Demos

Specification

Support

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago