Skip to content

Commit

Permalink
disable devtools and use 25 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
lherman-cs committed Feb 1, 2024
1 parent 9b44cf6 commit 89293dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 89293dc

Please sign in to comment.