summaryrefslogtreecommitdiff
path: root/liveRTMP.js
diff options
context:
space:
mode:
authorJibon Costa <jiboncosta57@gmail.com>2020-03-30 14:47:12 +0600
committerJibon Costa <jiboncosta57@gmail.com>2020-03-30 14:47:12 +0600
commitf1406b2033b6a9b3fe6fe6087c971d391ba79757 (patch)
treeab134b1b90dc75fdf361c9a0b6e3e103b46b2152 /liveRTMP.js
parente1d4807a59dbc01ca4bc91c34f1488ac4190cd57 (diff)
downloadbbb-recorder-f1406b2033b6a9b3fe6fe6087c971d391ba79757.tar.gz
bbb-recorder-f1406b2033b6a9b3fe6fe6087c971d391ba79757.zip
update puppeteer & xvfb
Diffstat (limited to 'liveRTMP.js')
-rw-r--r--liveRTMP.js5
1 files changed, 4 insertions, 1 deletions
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 = {