Skip to content

Commit

Permalink
openvidu-recording Docker image: add new Chromium flags
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloFuente committed Oct 6, 2022
1 parent e2d8a51 commit 74e68ea
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
25 changes: 24 additions & 1 deletion openvidu-server/docker/openvidu-recording/scripts/composed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,30 @@ fi

touch 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
chmod 777 /recordings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,30 @@ if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then

touch 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

until pids=$(pidof Xvfb)
Expand Down

0 comments on commit 74e68ea

Please sign in to comment.