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
10 lines
290 B
Plaintext
Executable File
10 lines
290 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
# When jibri is shutdown (or gracefully shutdown), it exits with code 255.
|
|
# In this case, we don't want S6 to restart the service. We want to stop all
|
|
# services and shutdown the container.
|
|
|
|
if [[ $1 -eq 255 ]]; then
|
|
s6-svscanctl -t /var/run/s6/services
|
|
fi
|