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:
parent
57bd54d28b
commit
ec3c9b1306
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, dpkg, jre_headless, makeWrapper, writeText, xorg }:
|
{ lib, stdenv, fetchurl, dpkg, jre8_headless, makeWrapper, writeText, xorg }:
|
||||||
|
|
||||||
let
|
let
|
||||||
xorgModulePaths = writeText "module-paths" ''
|
xorgModulePaths = writeText "module-paths" ''
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cat '${xorgModulePaths}' >> $out/etc/jitsi/jibri/xorg-video-dummy.conf
|
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
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user