53 Commits

Author SHA1 Message Date
emrah
ab3a7c2621 refactor(templates): wrap shell variables in conditions with double quotes 2026-02-12 20:13:33 +01:00
emrah
0e4bf5ed1a refactor(templates): replace "! -z" with "-n" for better readability 2026-02-12 16:36:29 +01:00
emrah
b90e9d916e refactor(jibri): no need to check the hardcoded password 2026-02-12 16:36:29 +01:00
peb-adr
9c10bb23ed Include custom-jibri.conf from /config (#2006) 2025-03-25 04:10:30 -05:00
Aaron van Meerten
9016f15add fix(jibri): streaming max bitrate needs units (#2034) 2025-02-27 10:49:28 -06:00
Aaron van Meerten
b6db039ee4 feat(jibri): move to separate parameters for video encode presets (#2033)
* feat(jibri): move to separate parameters for video encode presets
2025-02-27 06:51:42 -06:00
Aaron van Meerten
d3db3a5a89 fix(jibri,jicofo,jigasi,prosody,web): respect previous XMPP_RECORDER_DOMAIN value if set (#1966) 2024-11-14 09:29:43 -06:00
Jakob Löw
345f8c2a23 fix(prosody,jicofo,jigasi,jibri) rename recorder domain to hidden domain 2024-11-12 12:52:11 +01:00
Aaron van Meerten
47d974d88c feat(jibri,jicofo,jvb): custom hocon support via include for components that support it (#1960) 2024-10-29 12:12:34 -05:00
Aaron van Meerten
4369907615 feat(jibri,jicofo,jigasi,jvb,prosody,web): trim empty list entries when splitting with splitList to allow trailing comma (#1932) 2024-10-11 10:50:41 -05:00
emrah
fae66ad05c fix(jibri): IGNORE_CERTIFICATE_ERRORS as boolean 2024-07-19 12:51:11 +02:00
emrah
980703bc57 fix(jibri): display modes in xorg config 2024-07-02 21:20:18 +02:00
Saúl Ibarra Corretgé
1d3c0f13a3 jibri: fail to start if the SYS_ADMIN cap is missing (#1816)
The container will refuse to start and provide some useful information
to the user:

```
docker-jitsi-meet-jibri-1    | cap[cap_sys_admin] not permitted
docker-jitsi-meet-jibri-1    | Required capability SYS_ADMIN is missing
docker-jitsi-meet-jibri-1    | [cont-init.d] 10-config: exited 1.
docker-jitsi-meet-jibri-1    | [cont-finish.d] executing container finish scripts...
docker-jitsi-meet-jibri-1    | [cont-finish.d] done.
docker-jitsi-meet-jibri-1    | [s6-finish] waiting for services.
```
2024-05-30 12:07:35 -05:00
Aaron van Meerten
726b0f0636 jibri: adds autoscaler sidecar hook to signal final shutdown (#1810) 2024-05-21 16:09:08 -05:00
Aaron van Meerten
c951116d8e jibri: fix autoscaler sidecar config (#1783) 2024-04-19 15:08:35 -05:00
Aaron van Meerten
68d4b1af58 jibri: fix xorg modeline for 1280x720 (#1778)
* jibri: fix xorg modeline for 1280x720

* whitespace
2024-04-03 11:02:39 -05:00
Aaron van Meerten
a5ebb99e31 jibri: flag to support prometheus-style metrics (#1768)
* jibri: flag to support prometheus-style metrics
2024-03-21 14:03:18 -05:00
Aaron van Meerten
360361e5ea jibri: move xmpp config for easier override (#1748)
* jibri: move xmpp config for easier override

* fix order of operations
2024-03-19 07:46:34 -05:00
Saúl Ibarra Corretgé
ca61ea20b0 jibri: add ability to ignore certificate errors
This is useful for testing without a valid TLS certificate.
2024-03-18 16:46:38 +01:00
Aaron van Meerten
140db223e3 jibri: check for chrome bin before pre-warm (#1757) 2024-03-12 12:55:39 -05:00
Kurt Garloff
8f84f2f916 jibri: use storage.googleapis.com location for chromedriver
This is the place listed on
https://googlechromelabs.github.io/chrome-for-testing/
which would seem to be the least likely to silently break.
Currently, the edgedl.me.gvt1.com location is broken.

Signed-off-by: Kurt Garloff <kurt@garloff.de>
2024-02-18 14:32:05 +01:00
Saúl Ibarra Corretgé
d31e164656 build: simplify detection of the target platform
It can be done within the container, rather than having to compute it in
the Makefile and then pass it as an argument.
2024-01-15 14:08:49 +01:00
Saúl Ibarra Corretgé
e6a0c0461e jibri: add check for /dev/shm size
If the container was staryed without a /dev/shm of at least 2GB
(defaults to 6MB in Docker) Chrome will behave erratically or crash.

Catch this with a tiny binary and make the container fail to start.

Ref: https://github.com/jitsi/docker-jitsi-meet/issues/1653
2023-12-02 10:27:22 +01:00
Saúl Ibarra Corretgé
9bd3258e97 jibri: fix variable names
Fixes: https://github.com/jitsi/docker-jitsi-meet/issues/1607
2023-09-22 10:41:22 +02:00
Christian Ribeaud
5c5575cd89 jibri: make some ffmpeg arguments configurable via env variables
Introduce a few new environment variables:
- `JIBRI_RECORDING_VIDEO_ENCODE_PRESET`
- `JIBRI_RECORDING_CONSTANT_RATE_FACTOR`
- `JIBRI_RECORDING_CONSTANT_FRAMERATE`
- `JIBRI_RECORDING_CONSTANT_QUEUE_SIZE`
- `JIBRI_RECORDING_CONSTANT_STREAMING_MAX_BITRATE`

Co-authored-by: Christian Ribeaud <christian.ribeaud@karakun.com>
2023-09-18 22:26:08 +02:00
Saúl Ibarra Corretgé
603d461179 jibri: adapt to new ChromeDriver zip file structure 2023-09-12 10:03:12 +02:00
Saúl Ibarra Corretgé
a76b1f4b4a jibri: simplify ChromeDriver download 2023-09-12 10:03:12 +02:00
Saúl Ibarra Corretgé
fd1c308b49 jibri: fix new ChromeDriver API endpoints 2023-09-12 10:03:12 +02:00
Saúl Ibarra Corretgé
2c0a7931b2 jibri: update Chrome to 116
Note the URL for the ChromeDriver has changed now.
2023-09-11 11:41:27 +02:00
Aaron van Meerten
916bccbad6 jibri: autoscaler sidecar tuning parameters 2023-09-08 09:34:44 +02:00
Aaron van Meerten
94c7060cb5 jibri: params to override statsd host and port 2023-06-07 14:16:30 -05:00
Aaron van Meerten
0569bce51b jibri: add autoscaler-sidecar service support (#1562) 2023-06-06 13:31:00 -05:00
Aaron van Meerten
e4c8c2a963 jibri: pre-warm chrome first before starting jibri (#1549) 2023-05-16 12:35:24 -05:00
Saúl Ibarra Corretgé
076dbf7d17 jibri: fix downloading new (>= 109) ChromeDriver 2023-01-31 10:52:34 +01:00
Tobaroo
723d66156d jibri: add single-use-mode config option 2022-12-12 15:17:15 +01:00
Saúl Ibarra Corretgé
0364d94c4a jibri: remove deprecated PulseAudio module 2022-07-27 09:48:03 +02:00
Saúl Ibarra Corretgé
fbb8a2dbfe jibri: switch to PulseAudio
Using PulseAudio means no longer needing to mount /dev/snd/ which should
make deploying Jibri much easier.

Credits:

https://github.com/openfun/jibri-pulseaudio
https://community.jitsi.org/t/tip-pulseaudio-support-for-jibri/65780
https://github.com/kpeiruza/jitsi-images
2022-06-14 09:19:29 +02:00
Saúl Ibarra Corretgé
e7533f8639 jibri: simplify Dockerfile
Slightly reduce layer count by running everything in a single RUN.

Also reduce build time by skipping some unneeded apt update / cleanups.
2022-06-13 21:59:02 +02:00
Saúl Ibarra Corretgé
829841e1a4 jibri: add support for arm64
Use Debian's Chromium and ChromeDriver instead of Google's.

This has the limitation of not being able to control the version we
ship, however.
2022-06-13 13:36:48 +02:00
Jean-Vincent kassi
cffab8f429 jibri: fix log location template 2022-06-13 11:36:36 +02:00
Saúl Ibarra Corretgé
cb5a753282 config: simplify configuration
Use default values everywhere so they don't need to be specified in the
.env file.

This makes the default .env file much smaller (the larger config options
are documented in the handbook) and should make it easier to port the
setup to runtimes other than Docker Compose.
2022-05-20 10:53:12 +02:00
Aaron van Meerten
88bb1bccd0 feature: support multiple XMPP servers via list (#1276) 2022-05-03 08:40:52 -05:00
Aaron van Meerten
95af77896d jicofo: add optional XMPP_PORT value (#1275)
* jicofo: add optional XMPP_PORT value

* include compose and env example for XMPP_PORT

* extends use of the XMPP_PORT property

* fix compose to use default

* re-commenting XMPP_PORT value

* include XMPP_PORT in compose for all services

* always use $XMPP_PORT, value defaulted in template

* missing JVB setting
2022-05-02 08:30:48 -05:00
Boris Grozev
8004ffeba1 Use the new log formatters, clean up stale logging config. 2022-01-19 12:18:27 -06:00
Saúl Ibarra Corretgé
7cd71a263c jibri: default to recording in 720p 2021-10-14 16:21:56 +02:00
Prayag Singh
bee4b6a124 jibri: use new configuration file 2021-10-13 16:11:20 +02:00
Matthieu Huguet
18ac85b69e jibri: allow graceful shutdown of the container 2021-10-12 20:58:50 +02:00
Saúl Ibarra Corretgé
d9b84cfc2a jibri: set base URL for joining meetings
This will make Jibri join PUBLIC_URL/meetingName instead of https://meet.jitsi/meetingName.
2021-05-14 11:47:07 +02:00
Saúl Ibarra Corretgé
a7fb101e2c jibri: don't provide a non-existing finalizer path 2020-12-18 09:30:21 +01:00
netaskd
4426ed8f27 jibri: fix case when /dev/snd is not bound (https://github.com/jitsi/docker-jitsi-meet/issues/240#issuecomment-610422404) 2020-04-23 14:04:08 +02:00