diff --git a/openvidu-server/docker/openvidu-recording/scripts/composed.sh b/openvidu-server/docker/openvidu-recording/scripts/composed.sh index a10e5cf8..0283c750 100644 --- a/openvidu-server/docker/openvidu-recording/scripts/composed.sh +++ b/openvidu-server/docker/openvidu-recording/scripts/composed.sh @@ -50,7 +50,7 @@ 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 --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' $DEBUG_CHROME_FLAGS $URL &> xvfb.log & touch stop chmod 777 /recordings diff --git a/openvidu-server/docker/openvidu-recording/scripts/composed_quick_start.sh b/openvidu-server/docker/openvidu-recording/scripts/composed_quick_start.sh index f9be198b..b5231688 100644 --- a/openvidu-server/docker/openvidu-recording/scripts/composed_quick_start.sh +++ b/openvidu-server/docker/openvidu-recording/scripts/composed_quick_start.sh @@ -33,7 +33,7 @@ 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 --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' $DEBUG_CHROME_FLAGS $URL &> xvfb.log & chmod 777 /recordings until pids=$(pidof Xvfb) diff --git a/openvidu-server/docker/openvidu-recording/ubuntu-16-04.Dockerfile b/openvidu-server/docker/openvidu-recording/ubuntu-16-04.Dockerfile index accab36d..5a108ffb 100644 --- a/openvidu-server/docker/openvidu-recording/ubuntu-16-04.Dockerfile +++ b/openvidu-server/docker/openvidu-recording/ubuntu-16-04.Dockerfile @@ -4,7 +4,10 @@ MAINTAINER info@openvidu.io ARG CHROME_VERSION # Install Chrome -RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo fonts-noto +RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo \ + # Language Fonts + ttf-ancient-fonts fonts-beng fonts-wqy-zenhei fonts-indic + RUN wget http://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \ && apt install -y ./google-chrome-stable_${CHROME_VERSION}_amd64.deb \ && rm google-chrome-stable_${CHROME_VERSION}_amd64.deb \ @@ -34,4 +37,4 @@ RUN chmod +x /entrypoint.sh /composed.sh /composed_quick_start.sh \ && mkdir /recordings \ && chmod 777 /recordings -ENTRYPOINT /entrypoint.sh \ No newline at end of file +ENTRYPOINT /entrypoint.sh diff --git a/openvidu-server/docker/openvidu-recording/ubuntu-20-04.Dockerfile b/openvidu-server/docker/openvidu-recording/ubuntu-20-04.Dockerfile index 8fa18ab6..ee38eb0b 100644 --- a/openvidu-server/docker/openvidu-recording/ubuntu-20-04.Dockerfile +++ b/openvidu-server/docker/openvidu-recording/ubuntu-20-04.Dockerfile @@ -14,7 +14,8 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \ pulseaudio \ xvfb \ jq \ - fonts-noto \ + # Language Fonts + ttf-ancient-fonts fonts-beng fonts-wqy-zenhei fonts-indic \ && rm -rf /var/lib/apt/lists/* # Install chrome @@ -39,4 +40,4 @@ RUN chmod +x /entrypoint.sh /composed.sh /composed_quick_start.sh \ && mkdir /recordings \ && chmod 777 /recordings -ENTRYPOINT /entrypoint.sh \ No newline at end of file +ENTRYPOINT /entrypoint.sh