MediaStreamRecorder
MediaStreamRecorder copied to clipboard
MediaStreamRecorder in NPM is not a latest version on this Github
Hello Muaz Khan,
Your MediaStreamRecorder is very excellent and I very love it. However, it seem the latest source of MediaStreamRecorder is not yet published to NPM. Would you mind publishing it? Thank you very much.
Thanks.
Well, I facing Similar problem.
For example, MultiStreamRecorder require two parameters arrayOfMediaStreams and options in github ver
//git hub version
function MultiStreamRecorder(arrayOfMediaStreams, options) {
arrayOfMediaStreams = arrayOfMediaStreams || [];
if (arrayOfMediaStreams instanceof MediaStream) {
arrayOfMediaStreams = [arrayOfMediaStreams];
}
// ...
}
But, in npm ver require only mediaStream
//npm version
function MultiStreamRecorder(mediaStream) {
if (!mediaStream) {
throw 'MediaStream is mandatory.';
}
var self = this;
var isMediaRecorder = isMediaRecorderCompatible();
this.stream = mediaStream;
//...
}
I think npm version is not updated properly