streamproc / MediaStreamRecorder

Cross browser audio/video/screen recording. It supports Chrome, Firefox, Opera and Microsoft Edge. It even works on Android browsers. It follows latest MediaRecorder API standards and provides similar APIs.
https://www.webrtc-experiment.com/msr/
MIT License
2.62k stars 563 forks source link

MediaStreamRecorder in NPM is not a latest version on this Github #154

Open hanguyen-it opened 6 years ago

hanguyen-it commented 6 years ago

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.

ykmo-VIRNECT commented 4 years ago

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