From f1406b2033b6a9b3fe6fe6087c971d391ba79757 Mon Sep 17 00:00:00 2001 From: Jibon Costa Date: Mon, 30 Mar 2020 14:47:12 +0600 Subject: update puppeteer & xvfb --- liveRTMP.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'liveRTMP.js') diff --git a/liveRTMP.js b/liveRTMP.js index dc1da7c..4e35857 100644 --- a/liveRTMP.js +++ b/liveRTMP.js @@ -7,7 +7,10 @@ const homedir = require('os').homedir(); const ffmpegServer = config.ffmpegServer + ":" + config.ffmpegServerPort + "/auth/" + config.auth; -var xvfb = new Xvfb({silent: true}); +var xvfb = new Xvfb({ + silent: true, + xvfb_args: ["-screen", "0", "1280x800x24", "-ac", "-nolisten", "tcp", "-dpi", "96", "+extension", "RANDR"] +}); var width = 1280; var height = 720; var options = { -- cgit v1.3.1