MediaStreamRecorder icon indicating copy to clipboard operation
MediaStreamRecorder copied to clipboard

MediaStreamRecorder in NPM is not a latest version on this Github

Open hanguyen-it opened this issue 7 years ago • 1 comments

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.

hanguyen-it avatar Dec 18 '17 11:12 hanguyen-it

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

ykmo-VIRNECT avatar May 25 '20 01:05 ykmo-VIRNECT