From 9bb2fbc85949ef00195299da5bffbe2a057d089e Mon Sep 17 00:00:00 2001 From: Ark74 Date: Fri, 19 Feb 2021 11:55:35 -0600 Subject: [PATCH] Add chrome flags as new version require ignore certs errors --- add-jibri-node.sh | 13 +++++++++++++ quick_jibri_installer.sh | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index c2df403..2782034 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -312,6 +312,19 @@ mv $JIBRI_CONF ${JIBRI_CONF}-dpkg-file cat << NEW_CONF > $JIBRI_CONF // New XMPP environment config. jibri { + chrome { + // The flags which will be passed to chromium when launching + flags = [ + "--use-fake-ui-for-media-stream", + "--start-maximized", + "--kiosk", + "--enabled", + "--disable-infobars", + "--autoplay-policy=no-user-gesture-required", + "--ignore-certificate-errors", + "--disable-dev-shm-usage" + ] + } recording { recordings-directory = $DIR_RECORD finalize-script = $REC_DIR diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index e088afb..851ac7a 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -815,6 +815,19 @@ mv $JIBRI_CONF ${JIBRI_CONF}-dpkg-file cat << NEW_CONF > $JIBRI_CONF // New XMPP environment config. jibri { + chrome { + // The flags which will be passed to chromium when launching + flags = [ + "--use-fake-ui-for-media-stream", + "--start-maximized", + "--kiosk", + "--enabled", + "--disable-infobars", + "--autoplay-policy=no-user-gesture-required", + "--ignore-certificate-errors", + "--disable-dev-shm-usage" + ] + } recording { recordings-directory = $DIR_RECORD finalize-script = $REC_DIR