1.0.3 • Published 1 year ago
livestream-recorder v1.0.3
Installation Guide
Using npm
npm install livestream-recorder
Using yarn
yarn add livestream-recorder
import
//ES6
import Recorder from 'livestream-recorder';
//common js
const Recorder = require('livestream-recorder');
initiliaze Recorder and start recording
Recorder.startRecording(inputStream,audioProcessor);
fetch or get the Blob
var Blob = await Recorder.fetchBlob();
to stop recording
Recorder.stopRecording();
to resume recording
Recorder.resumeRecording();
to clear recording
Recorder.clearRecording();