Nominating Presidential Muppets

    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

    Install

    npm i simple-web-recording

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    6.19 kB

    Total Files

    5

    Last publish

    Collaborators

    • effus