simple-web-recording

1.0.5 • Public • Published

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

/simple-web-recording/

    Package Sidebar

    Install

    npm i simple-web-recording

    Weekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    6.19 kB

    Total Files

    5

    Last publish

    Collaborators

    • effus