From e6d087d2da410cc0891ed396ceb2b3496e1b5e74 Mon Sep 17 00:00:00 2001 From: pedro Date: Mon, 9 May 2022 02:23:38 +0200 Subject: [PATCH] jibri looks like and with 720p --- type/__jitsi_jibri/files/jibri.conf.sh | 1 + .../__jitsi_jibri/files/xorg-video-dummy.conf | 127 ++++++++++++++++++ type/__jitsi_jibri/man.rst | 4 + type/__jitsi_jibri/manifest | 101 +++++++++----- 4 files changed, 200 insertions(+), 33 deletions(-) create mode 100644 type/__jitsi_jibri/files/xorg-video-dummy.conf diff --git a/type/__jitsi_jibri/files/jibri.conf.sh b/type/__jitsi_jibri/files/jibri.conf.sh index 8d3b147..5fdc886 100755 --- a/type/__jitsi_jibri/files/jibri.conf.sh +++ b/type/__jitsi_jibri/files/jibri.conf.sh @@ -73,6 +73,7 @@ jibri { } ffmpeg { resolution = "1280x720" + // resolution = "1920x1080" // The audio source that will be used to capture audio on Linux audio-source = "alsa" // The audio device that will be used to capture audio on Linux diff --git a/type/__jitsi_jibri/files/xorg-video-dummy.conf b/type/__jitsi_jibri/files/xorg-video-dummy.conf new file mode 100644 index 0000000..d55372b --- /dev/null +++ b/type/__jitsi_jibri/files/xorg-video-dummy.conf @@ -0,0 +1,127 @@ +#!/bin/sh -eu + +cat <&2 -#exit 1 __download '/tmp/chromedriver.zip' \ --url "https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip" \ --sum "${CHROME_DRIVER_HASH}" -CHROME_DRIVER_PATH='/usr/local/bin/chromedriver' -require='__download/chromedriver' __unpack '/tmp/chromedriver.zip' \ +CHROME_DRIVER_PATH='/usr/local/bin' +require='__download/tmp/chromedriver.zip' __unpack '/tmp/chromedriver.zip' \ --destination "${CHROME_DRIVER_PATH}" \ --onchange "chown root:root ${CHROME_DRIVER_PATH} && chmod 0755 ${CHROME_DRIVER_PATH}" CHROME_POLICIES='/etc/opt/chrome/policies/managed' -require='__package/google-chrome' __directory "${CHROME_POLICIES}" --parents +require='__package/google-chrome-stable' __directory "${CHROME_POLICIES}" --parents require="__directory/${CHROME_POLICIES}" __file "${CHROME_POLICIES}/managed_policies" \ - --source '{ "CommandLineFlagSecurityWarningsEnabled": false }' \ - --mode 644 + --mode '644' \ + --source '-' <