ソースを参照

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

Aaron van Meerten 2 年 前
コミット
e4c8c2a963
1 ファイル変更2 行追加0 行削除
  1. 2 0
      jibri/rootfs/etc/services.d/40-jibri/run

+ 2 - 0
jibri/rootfs/etc/services.d/40-jibri/run

@@ -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"