mirror of https://github.com/OpenVidu/openvidu.git
openvidu-recording Docker image: add new Chromium flags
parent
e2d8a510e6
commit
74e68ea8b1
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue