screen-recorder
screen-recorder copied to clipboard
Adding output path in constructor
Can you add output path in constructor rather than auto generated path.
constructor(rect, transcodeOpt, outputPath) {
super();
this._duration = 180;
this._grabFps = 20;
this._recordingRect = rect; //{x,y,w,h}
this._transcodeOpt = transcodeOpt || {};
this._tmpPath = outputPath;
}