jibri: pre-warm chrome first before starting jibri (#1549)

This commit is contained in:
Aaron van Meerten 2023-05-16 12:35:24 -05:00 committed by GitHub
parent 809f63c2d8
commit e4c8c2a963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,5 +4,7 @@
HOME=/home/jibri
DAEMON=/opt/jitsi/jibri/launch.sh
# pre-warm google chrome before jibri launches to ensure fast chrome launch during recordings
s6-setuidgid jibri /usr/bin/google-chrome --timeout=1000 --headless about:blank
exec s6-setuidgid jibri /bin/bash -c "exec $DAEMON"