RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
i am using RecordRtc to record screen and getting blob every 2 minutes. i want to store blob in indexdb or disk storage. I tried using record rtc write to disk but it did not work for me.
this.recorder = RecordRTC([this.screen, this.camera], {
type: "video",
mimeType: "video/webm;codecs=h264",
numberOfAudioChannels: 1,
desiredSampRate: 16000,
frameInterval: 30,
bufferSize: 1024,
timeSlice: 20000,
getNativeBlob: true,
ondataavailable: function (blob) {
console.log(blob);
RecordRTC.writeToDisk(blob);
self.blobData.blob = blob;
self.blobData.blobSize = blob.size;
self.invokeSaveBlob();
},
i am using RecordRtc to record screen and getting blob every 2 minutes. i want to store blob in indexdb or disk storage. I tried using record rtc write to disk but it did not work for me. this.recorder = RecordRTC([this.screen, this.camera], { type: "video", mimeType: "video/webm;codecs=h264", numberOfAudioChannels: 1, desiredSampRate: 16000, frameInterval: 30, bufferSize: 1024, timeSlice: 20000, getNativeBlob: true, ondataavailable: function (blob) { console.log(blob); RecordRTC.writeToDisk(blob); self.blobData.blob = blob; self.blobData.blobSize = blob.size; self.invokeSaveBlob(); },