Closed bumi001 closed 7 years ago
It is RecordRTC level function, however you can easily define it as well: dev/MediaStreamRecorder.js:
this.getBlob = function() {
return this.blob;
};
Or in your HTML file (without modifying the MediaStreamRecorder.js):
MediaStreamRecorder.prototype.getBlob = function() {
return this.blob;
};
Oh! You are right. Thank you.
Hi, This is an excellent package. I was reading the code and noticed that MRecordRTC.getBlob() calls audioRecorder.getBlob(), videRecorder.getBlob() and gifRecorder.getBlob(). However, MediaStreamRecorder.getBlob() is not defined. It is a simple function to define. But, I thought I will bring it to your attention.