jibri: downgrade to jre8_headless from default v16

Fix for bug with jibri closing prematurely when recording is stopped:
https://github.com/jitsi/jibri/issues/441
This commit is contained in:
Cleeyv 2021-10-06 13:53:30 -07:00 committed by tomberek
parent 57bd54d28b
commit ec3c9b1306

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, dpkg, jre_headless, makeWrapper, writeText, xorg }:
{ lib, stdenv, fetchurl, dpkg, jre8_headless, makeWrapper, writeText, xorg }:
let
xorgModulePaths = writeText "module-paths" ''
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
cat '${xorgModulePaths}' >> $out/etc/jitsi/jibri/xorg-video-dummy.conf
makeWrapper ${jre_headless}/bin/java $out/bin/jibri --add-flags "-jar $out/opt/jitsi/jibri/jibri.jar"
makeWrapper ${jre8_headless}/bin/java $out/bin/jibri --add-flags "-jar $out/opt/jitsi/jibri/jibri.jar"
runHook postInstall
'';