From 89293dc214dacd8427677d444fa5b7e13dad689a Mon Sep 17 00:00:00 2001 From: Lukas Herman Date: Thu, 1 Feb 2024 00:29:20 -0500 Subject: [PATCH] disable devtools and use 25 fps --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 092092b..b06ac02 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ const url = process.argv[2]; (async () => { const browser = await puppeteer.launch({ - headless: false, devtools: true, defaultViewport: null, args: [ + headless: false, devtools: false, defaultViewport: null, args: [ "--start-fullscreen", "--use-gl=angle", "--use-angle=gl" @@ -56,7 +56,7 @@ const url = process.argv[2]; const recorder = new PuppeteerScreenRecorder(page, { followNewTab: true, - fps: 30, + fps: 25, ffmpeg_Path: null, videoFrame: { width: null,