1.0.3 • Published 5 years ago
linux-screen-recorder v1.0.3
const Recorder = require("linux-screen-recorder");
let r = new Recorder();
r.record(); // start recording
r.screenHeight; //returns device screen height
r.screenWidth; //returns device screen width
r.height; //returns recording screen height
r.width; //returns recording screen width
r.filePath; //returns recording file path
r.X; //returns recording horizontal offset
r.Y; //returns recording vertical offset
r.record(); //start recording
r.stop(); //stop recording