openvidu-recording Docker image: add new Chromium flags

pull/750/head
pabloFuente 2022-10-06 11:15:30 +02:00
parent e2d8a510e6
commit 74e68ea8b1
2 changed files with 48 additions and 2 deletions

View File

@ -50,7 +50,30 @@ fi
touch xvfb.log touch xvfb.log
chmod 777 xvfb.log chmod 777 xvfb.log
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --disable-features=Translate --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log &
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome \
--kiosk \
--start-maximized \
--test-type \
--no-sandbox \
--disable-infobars \
--disable-gpu \
--disable-popup-blocking \
--window-size=$WIDTH,$HEIGHT \
--window-position=0,0 \
--no-first-run \
--disable-features=Translate \
--ignore-certificate-errors \
--disable-dev-shm-usage \
--autoplay-policy=no-user-gesture-required \
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
--disable-sync \
--no-default-browser-check \
--disable-component-update \
--disable-background-networking \
--disable-default-apps \
$DEBUG_CHROME_FLAGS $URL &> xvfb.log &
touch stop touch stop
chmod 777 /recordings chmod 777 /recordings

View File

@ -33,7 +33,30 @@ if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then
touch xvfb.log touch xvfb.log
chmod 777 xvfb.log chmod 777 xvfb.log
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --disable-features=Translate --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log &
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome \
--kiosk \
--start-maximized \
--test-type \
--no-sandbox \
--disable-infobars \
--disable-gpu \
--disable-popup-blocking \
--window-size=$WIDTH,$HEIGHT \
--window-position=0,0 \
--no-first-run \
--disable-features=Translate \
--ignore-certificate-errors \
--disable-dev-shm-usage \
--autoplay-policy=no-user-gesture-required \
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
--disable-sync \
--no-default-browser-check \
--disable-component-update \
--disable-background-networking \
--disable-default-apps \
$DEBUG_CHROME_FLAGS $URL &> xvfb.log &
chmod 777 /recordings chmod 777 /recordings
until pids=$(pidof Xvfb) until pids=$(pidof Xvfb)