add jibri to jitsi
This commit is contained in:
parent
f770a78fc8
commit
9b6ad842dc
@ -14,14 +14,32 @@
|
|||||||
SHOW_WATERMARK_FOR_GUESTS = false;
|
SHOW_WATERMARK_FOR_GUESTS = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.jibri.config = {
|
||||||
|
enable = true;
|
||||||
|
recording = {
|
||||||
|
recordings-directory = "/var/lib/jitsi-meet-recordings";
|
||||||
|
};
|
||||||
|
ffmpeg = {
|
||||||
|
#framerate = 30;
|
||||||
|
#video-encode-preset = "veryfast"; # https://trac.ffmpeg.org/wiki/Encode/H.264#a2.Chooseapresetandtune
|
||||||
|
h264-constant-rate-factor = 21; # https://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.jitsi-videobridge = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.prosody.extraConfig = ''
|
services.prosody.extraConfig = ''
|
||||||
log = "/var/log/prosody/prosody.log"
|
log = "/var/log/prosody/prosody.log"
|
||||||
'';
|
'';
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/log/prosody - prosody prosody"
|
"d /var/log/prosody - prosody prosody"
|
||||||
];
|
];
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d ${config.services.jibri.config.recording.recordings-directory} 0750 jibri jibri -"
|
||||||
|
];
|
||||||
|
|
||||||
services.jitsi-videobridge.openFirewall = true;
|
|
||||||
security.acme.defaults.email = "webmaster@kabtop.de";
|
security.acme.defaults.email = "webmaster@kabtop.de";
|
||||||
security.acme.defaults.webroot = "/var/lib/acme/acme-challenge";
|
security.acme.defaults.webroot = "/var/lib/acme/acme-challenge";
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user