Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
|
cf0027240c | ||
|
93e7f04880 | ||
|
79abc93fcf | ||
|
3287166e13 | ||
|
af663e074e | ||
|
e6d087d2da | ||
|
027566e6cc | ||
|
a10070a7d5 | ||
|
7ec8aa82c4 | ||
|
555427cba1 | ||
|
02d35fcf18 |
20 changed files with 771 additions and 1 deletions
1
type/__jitsi_jibri/.gitignore
vendored
Normal file
1
type/__jitsi_jibri/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
files/chromedriver_linux64.zip
|
2
type/__jitsi_jibri/explorer/kernel_release
Normal file
2
type/__jitsi_jibri/explorer/kernel_release
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
uname -r
|
198
type/__jitsi_jibri/files/apt-google-chrome-keyring.gpg
Normal file
198
type/__jitsi_jibri/files/apt-google-chrome-keyring.gpg
Normal file
|
@ -0,0 +1,198 @@
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1.4.2.2 (GNU/Linux)
|
||||||
|
|
||||||
|
mQGiBEXwb0YRBADQva2NLpYXxgjNkbuP0LnPoEXruGmvi3XMIxjEUFuGNCP4Rj/a
|
||||||
|
kv2E5VixBP1vcQFDRJ+p1puh8NU0XERlhpyZrVMzzS/RdWdyXf7E5S8oqNXsoD1z
|
||||||
|
fvmI+i9b2EhHAA19Kgw7ifV8vMa4tkwslEmcTiwiw8lyUl28Wh4Et8SxzwCggDcA
|
||||||
|
feGqtn3PP5YAdD0km4S4XeMEAJjlrqPoPv2Gf//tfznY2UyS9PUqFCPLHgFLe80u
|
||||||
|
QhI2U5jt6jUKN4fHauvR6z3seSAsh1YyzyZCKxJFEKXCCqnrFSoh4WSJsbFNc4PN
|
||||||
|
b0V0SqiTCkWADZyLT5wll8sWuQ5ylTf3z1ENoHf+G3um3/wk/+xmEHvj9HCTBEXP
|
||||||
|
78X0A/0Tqlhc2RBnEf+AqxW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8wM7ubAQ5Dwi1pABRttRAMuPA94HzaBF5y
|
||||||
|
XkghxHpnW0IcXGiwgch9LQyaO9VSRhiPH6r5Zuk7KvGhHph7SC5JgUn9vJmmp1zc
|
||||||
|
d0mXQ2Zh8M81J3Ri3iGPHM2CqplAxXNbIrnztbEJhN2I+77m73Z4d+K1ivg6xQht
|
||||||
|
eSZhwhx7/Z3Tl+U2jYOEFIn/UFmV3UxRSJa/jQRcjvMKprSp4tAZ2yJI3babjRbi
|
||||||
|
xgUEtlK105/JepxcAdw9vosxO/rR7VqCzu0copdxC0GAH8og+A9/3LPhlRGy3Qhf
|
||||||
|
zjy9JHWHj4EIsol02BS8+dWvAoYerkve9O9+h6/B5wM/Yng9BjT+OrNvkfmqK2cs
|
||||||
|
pBXwYedOrC4uWcUmueEVrv5P4FF36wJ+ejvPS6vdTxVTdLXjouUHwTQQZVlNjWY3
|
||||||
|
cIyj03nZ19c+b30+2FzG/uSnb/ePWsRLY7Iyz4ygr8etweBPnEIvjwpAZxOu
|
||||||
|
=ilBW
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
51
type/__jitsi_jibri/files/apt-jitsi-keyring.gpg
Normal file
51
type/__jitsi_jibri/files/apt-jitsi-keyring.gpg
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBGB4bEkBEADffHELs6RBZEEgme2L6KXyO5XThI5ROFCMZ+4X1mZTKPyihuMX
|
||||||
|
u1IQeaLQhUKEw60NZH1HyvH11L33LYcimlyLDG7N6s/MjWtLAI+wkgb6iYY2mArM
|
||||||
|
3TqPTzVgZUcJl5Strft2U8QNq9N2qslbF7hm3g35M78r5CJmlVQYO298rz6ybovO
|
||||||
|
9TTB/C3KbDMHohEXIdVlAIKAtu+/5dWQtP7NR3RZHpfMoOvf65NiZRsudZ5SZcd1
|
||||||
|
8G7n0nv6NF5Ul+cuLsOMh7r2KiPjpHuQwobwEJpc8N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/qnUQG
|
||||||
|
bnRv0g/oSkkimADazkwojNcVdgkrF91zkUtzIya+NOiGO7cAEQEAAYkCNgQYAQgA
|
||||||
|
IBYhBP/WWg2ivr3rc9RMi7TS0hbx/XgGBQJgeGxJAhsMAAoJELTS0hbx/XgGEyQQ
|
||||||
|
ALAHIiRoFkhypGpFt3+bt3ZLQf6OD+H0ZiOcy43DlBAUz7PbNlW4bDvINkgTaGRa
|
||||||
|
+cIMwdW5lWO9fsChsEoDVnjl9rcNcTJcN5Fc/L+XnW6k9RzW1nK+mj3NiGfR7OI1
|
||||||
|
V6eNM346+EpA2ZnqVTfr14+Vu49TV7vSsfnZg6brl+t1qNzJLHcsnVxxACw95OOK
|
||||||
|
joGu56ozuxEWjsGwnvvkH7dR/HLGtk+XP0NWSBOoEpHj7bF+6h81MpcMcj4BYoaZ
|
||||||
|
AJfQyfx8rP2JQC/HNrY0bAW0ahN2x+fE9Vd6iPkrPGSGibWRv6Db/KLk1R8/8W4B
|
||||||
|
YKti313EXV8g0gc0TdwqbhLWOinCjtLW+anXsqxmVFNG1cS1CvsFi2WDRtjHP3eY
|
||||||
|
aEdnXHcnPL4gKPTeXlHf3HGDCeboGOWFeim2bHwOzbzg9Kp+lGYyi/qJW496n+Yp
|
||||||
|
wBWDVHgVlS51Y8hS7xB4FY71S4OY4W9S8XX0KUQihqoh3E44eow+Z8OE1g0CosPz
|
||||||
|
2cRioAiEeVPNra0IgD2iD7LKuEVd6zJ7RbxzWCWko+sOgCm0lqz87R5IQibEFbRV
|
||||||
|
ATvmI/B3DPYHjk7toPT5+jgcgY0QPq9JYSORbgXvoWG0f83TFIfFV6yGgmaG1DMX
|
||||||
|
YPNx6EOVTWjMMoXNbskDkw3HdcVdVz41ZnW/1lJZejvW
|
||||||
|
=uIZN
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
1
type/__jitsi_jibri/files/chrome-driver-hash
Normal file
1
type/__jitsi_jibri/files/chrome-driver-hash
Normal file
|
@ -0,0 +1 @@
|
||||||
|
sha256:99511b54102cf52ab22bf5dcc5a46c4a75d9ed4ca2b1d06b99a006782a33507f
|
1
type/__jitsi_jibri/files/chrome-driver-version
Normal file
1
type/__jitsi_jibri/files/chrome-driver-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
101.0.4951.41
|
34
type/__jitsi_jibri/files/finalize_recording.sh
Executable file
34
type/__jitsi_jibri/files/finalize_recording.sh
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
# Managed remotely, changes will be lost
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
guess_room_name() {
|
||||||
|
recording_meeting_path="${1}"
|
||||||
|
# the approach is to delete the 25 fixed character postfix string on each
|
||||||
|
# file (example: room_name_2022-06-08-15-28-25.mp4) another approach would be
|
||||||
|
# to take the url
|
||||||
|
# from the metadata.json file, but that would imply json parsing or jq dependency
|
||||||
|
basename "$(ls "${recording_meeting_path}"/*.mp4)" | rev | cut -c25- | rev
|
||||||
|
}
|
||||||
|
|
||||||
|
move_meeting() {
|
||||||
|
recording_meeting_path="${1}"
|
||||||
|
recording_general_path="${2}"
|
||||||
|
room="${3}"
|
||||||
|
mkdir -p "${recording_general_path}/${room}/"
|
||||||
|
mv "${recording_meeting_path}"/*.mp4 "${recording_general_path}/${room}/"
|
||||||
|
rm "${recording_meeting_path}/metadata.json"
|
||||||
|
rmdir "${recording_meeting_path}"
|
||||||
|
}
|
||||||
|
|
||||||
|
main() {
|
||||||
|
recording_meeting_path="${1}"
|
||||||
|
recording_general_path="$(dirname "${1}")"
|
||||||
|
room="$(guess_room_name "${recording_meeting_path}")"
|
||||||
|
move_meeting "${recording_meeting_path}" "${recording_general_path}" "${room}"
|
||||||
|
}
|
||||||
|
|
||||||
|
main "${@}"
|
||||||
|
|
||||||
|
exit 0
|
136
type/__jitsi_jibri/files/jibri.conf.sh
Executable file
136
type/__jitsi_jibri/files/jibri.conf.sh
Executable file
|
@ -0,0 +1,136 @@
|
||||||
|
#!/bin/sh -eu
|
||||||
|
|
||||||
|
# Start
|
||||||
|
JIBRI_CONFIG="$(cat <<EOF
|
||||||
|
# Managed remotely, changes will be lost
|
||||||
|
|
||||||
|
# thanks
|
||||||
|
# https://community.jitsi.org/t/jibri-service-fails/85272/4
|
||||||
|
# https://github.com/emrahcom/emrah-buster-templates/blob/master/machines/eb-jibri-template/etc/jitsi/jibri/jibri.conf
|
||||||
|
|
||||||
|
jibri {
|
||||||
|
// A unique identifier for this Jibri
|
||||||
|
// TODO: eventually this will be required with no default
|
||||||
|
id = ""
|
||||||
|
// Whether or not Jibri should return to idle state after handling
|
||||||
|
// (successfully or unsuccessfully) a request. A value of 'true'
|
||||||
|
// here means that a Jibri will NOT return back to the IDLE state
|
||||||
|
// and will need to be restarted in order to be used again.
|
||||||
|
single-use-mode = false
|
||||||
|
api {
|
||||||
|
http {
|
||||||
|
external-api-port = 2222
|
||||||
|
internal-api-port = 3333
|
||||||
|
}
|
||||||
|
xmpp {
|
||||||
|
// See example_xmpp_envs.conf for an example of what is expected here
|
||||||
|
environments = [{
|
||||||
|
name = "jibri-env"
|
||||||
|
xmpp-server-hosts = ["${JIBRI_HOST:?}"]
|
||||||
|
xmpp-domain = "${JIBRI_HOST:?}"
|
||||||
|
|
||||||
|
control-muc {
|
||||||
|
domain = "internal.auth.${JIBRI_HOST:?}"
|
||||||
|
room-name = "JibriBrewery"
|
||||||
|
nickname = "jibri-nickname"
|
||||||
|
}
|
||||||
|
|
||||||
|
control-login {
|
||||||
|
domain = "auth.${JIBRI_HOST:?}"
|
||||||
|
username = "jibri"
|
||||||
|
password = "${JIBRI_AUTH_PASS:?}"
|
||||||
|
}
|
||||||
|
|
||||||
|
call-login {
|
||||||
|
domain = "recorder.${JIBRI_HOST:?}"
|
||||||
|
username = "recorder"
|
||||||
|
password = "${JIBRI_RECORDER_PASS:?}"
|
||||||
|
}
|
||||||
|
|
||||||
|
strip-from-room-domain = "conference."
|
||||||
|
usage-timeout = 0
|
||||||
|
trust-all-xmpp-certs = true
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
recording {
|
||||||
|
recordings-directory = "/tmp/recordings"
|
||||||
|
# TODO: make this an optional param and remove the default
|
||||||
|
finalize-script = "/opt/finalize_recording.sh"
|
||||||
|
}
|
||||||
|
streaming {
|
||||||
|
// A list of regex patterns for allowed RTMP URLs. The RTMP URL used
|
||||||
|
// when starting a stream must match at least one of the patterns in
|
||||||
|
// this list.
|
||||||
|
rtmp-allow-list = [
|
||||||
|
// By default, all services are allowed
|
||||||
|
".*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
sip {
|
||||||
|
// The routing rule for the outbound scenario in VoxImplant is based on this prefix
|
||||||
|
outbound-prefix = "out_"
|
||||||
|
}
|
||||||
|
ffmpeg {
|
||||||
|
resolution = "1280x720"
|
||||||
|
// resolution = "1920x1080"
|
||||||
|
// The audio source that will be used to capture audio on Linux
|
||||||
|
audio-source = "alsa"
|
||||||
|
// The audio device that will be used to capture audio on Linux
|
||||||
|
audio-device = "plug:bsnoop"
|
||||||
|
}
|
||||||
|
chrome {
|
||||||
|
// The flags which will be passed to chromium when launching
|
||||||
|
flags = [
|
||||||
|
"--use-fake-ui-for-media-stream",
|
||||||
|
"--start-maximized",
|
||||||
|
"--kiosk",
|
||||||
|
"--enabled",
|
||||||
|
"--autoplay-policy=no-user-gesture-required"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
stats {
|
||||||
|
enable-stats-d = true
|
||||||
|
}
|
||||||
|
webhook {
|
||||||
|
// A list of subscribers interested in receiving webhook events
|
||||||
|
subscribers = []
|
||||||
|
}
|
||||||
|
jwt-info {
|
||||||
|
// The path to a .pem file which will be used to sign JWT tokens used in webhook
|
||||||
|
// requests. If not set, no JWT will be added to webhook requests.
|
||||||
|
# signing-key-path = "/path/to/key.pem"
|
||||||
|
|
||||||
|
// The kid to use as part of the JWT
|
||||||
|
# kid = "key-id"
|
||||||
|
|
||||||
|
// The issuer of the JWT
|
||||||
|
# issuer = "issuer"
|
||||||
|
|
||||||
|
// The audience of the JWT
|
||||||
|
# audience = "audience"
|
||||||
|
|
||||||
|
// The TTL of each generated JWT. Can't be less than 10 minutes.
|
||||||
|
# ttl = 1 hour
|
||||||
|
}
|
||||||
|
call-status-checks {
|
||||||
|
// If not all clients have their audio and video muted, but Jibri does not
|
||||||
|
// detect any data stream (audio or video) comming in, it will stop
|
||||||
|
// recording after NO_MEDIA_TIMEOUT expires.
|
||||||
|
no-media-timeout = 3 minutes
|
||||||
|
|
||||||
|
// If all clients have their audio and video muted, Jibri consideres this
|
||||||
|
// as an empty call and stops the recording after ALL_MUTED_TIMEOUT expires.
|
||||||
|
all-muted-timeout = 10 minutes
|
||||||
|
|
||||||
|
// When detecting if a call is empty, Jibri takes into consideration for how
|
||||||
|
// long the call has been empty already. If it has been empty for more than
|
||||||
|
// DEFAULT_CALL_EMPTY_TIMEOUT, it will consider it empty and stop the recording.
|
||||||
|
default-call-empty-timeout = 30 seconds
|
||||||
|
|
||||||
|
// If ICE hasn't completed, or stays in a state other than "connected" for this amount of time, Jibri will stop.
|
||||||
|
ice-connection-timeout = 30 seconds
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
)"
|
14
type/__jitsi_jibri/files/update_files.sh
Executable file
14
type/__jitsi_jibri/files/update_files.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# src https://github.com/jitsi/jibri#jitsi-debian-repository
|
||||||
|
wget https://download.jitsi.org/jitsi-key.gpg.key -O apt-jitsi-keyring.gpg
|
||||||
|
|
||||||
|
# src https://github.com/jitsi/jibri#google-chrome-stable--chromedriver
|
||||||
|
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O apt-google-chrome-keyring.gpg
|
||||||
|
|
||||||
|
curl chromedriver.storage.googleapis.com/LATEST_RELEASE > chrome-driver-version
|
||||||
|
cd_path='chromedriver_linux64.zip'
|
||||||
|
cd_url=https://chromedriver.storage.googleapis.com/$(cat chrome-driver-version)/chromedriver_linux64.zip
|
||||||
|
curl "${cd_url}" -z "${cd_path}" -o "${cd_path}"
|
||||||
|
printf "sha256:$(sha256sum chromedriver_linux64.zip | cut -d' ' -f1)" > chrome-driver-hash
|
128
type/__jitsi_jibri/files/xorg-video-dummy.conf.sh
Executable file
128
type/__jitsi_jibri/files/xorg-video-dummy.conf.sh
Executable file
|
@ -0,0 +1,128 @@
|
||||||
|
#!/bin/sh -eu
|
||||||
|
|
||||||
|
JIBRI_XORG_CONFIG="$(cat <<EOF
|
||||||
|
# Managed remotely, changes will be lost
|
||||||
|
|
||||||
|
# This xorg configuration file is meant to be used by xpra
|
||||||
|
# to start a dummy X11 server.
|
||||||
|
# For details, please see:
|
||||||
|
# https://xpra.org/Xdummy.html
|
||||||
|
|
||||||
|
Section "ServerFlags"
|
||||||
|
Option "DontVTSwitch" "true"
|
||||||
|
Option "AllowMouseOpenFail" "true"
|
||||||
|
Option "PciForceNone" "true"
|
||||||
|
Option "AutoEnableDevices" "false"
|
||||||
|
Option "AutoAddDevices" "false"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Device"
|
||||||
|
Identifier "dummy_videocard"
|
||||||
|
Driver "dummy"
|
||||||
|
Option "ConstantDPI" "true"
|
||||||
|
#VideoRam 4096000
|
||||||
|
#VideoRam 256000
|
||||||
|
VideoRam 192000
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Monitor"
|
||||||
|
Identifier "dummy_monitor"
|
||||||
|
HorizSync 5.0 - 1000.0
|
||||||
|
VertRefresh 5.0 - 200.0
|
||||||
|
#This can be used to get a specific DPI, but only for the default resolution:
|
||||||
|
#DisplaySize 508 317
|
||||||
|
#NOTE: the highest modes will not work without increasing the VideoRam
|
||||||
|
# for the dummy video card.
|
||||||
|
Modeline "32768x32768" 15226.50 32768 35800 39488 46208 32768 32771 32781 32953
|
||||||
|
Modeline "32768x16384" 7516.25 32768 35544 39192 45616 16384 16387 16397 16478
|
||||||
|
Modeline "16384x8192" 2101.93 16384 16416 24400 24432 8192 8390 8403 8602
|
||||||
|
Modeline "8192x4096" 424.46 8192 8224 9832 9864 4096 4195 4202 4301
|
||||||
|
Modeline "5496x1200" 199.13 5496 5528 6280 6312 1200 1228 1233 1261
|
||||||
|
Modeline "5280x1080" 169.96 5280 5312 5952 5984 1080 1105 1110 1135
|
||||||
|
Modeline "5280x1200" 191.40 5280 5312 6032 6064 1200 1228 1233 1261
|
||||||
|
Modeline "5120x3200" 199.75 5120 5152 5904 5936 3200 3277 3283 3361
|
||||||
|
Modeline "4800x1200" 64.42 4800 4832 5072 5104 1200 1229 1231 1261
|
||||||
|
Modeline "3840x2880" 133.43 3840 3872 4376 4408 2880 2950 2955 3025
|
||||||
|
Modeline "3840x2560" 116.93 3840 3872 4312 4344 2560 2622 2627 2689
|
||||||
|
Modeline "3840x2048" 91.45 3840 3872 4216 4248 2048 2097 2101 2151
|
||||||
|
Modeline "3840x1080" 100.38 3840 3848 4216 4592 1080 1081 1084 1093
|
||||||
|
Modeline "3600x1200" 106.06 3600 3632 3984 4368 1200 1201 1204 1214
|
||||||
|
Modeline "3288x1080" 39.76 3288 3320 3464 3496 1080 1106 1108 1135
|
||||||
|
Modeline "2048x2048" 49.47 2048 2080 2264 2296 2048 2097 2101 2151
|
||||||
|
Modeline "2048x1536" 80.06 2048 2104 2312 2576 1536 1537 1540 1554
|
||||||
|
Modeline "2560x1600" 47.12 2560 2592 2768 2800 1600 1639 1642 1681
|
||||||
|
Modeline "2560x1440" 42.12 2560 2592 2752 2784 1440 1475 1478 1513
|
||||||
|
Modeline "1920x1440" 69.47 1920 1960 2152 2384 1440 1441 1444 1457
|
||||||
|
Modeline "1920x1200" 26.28 1920 1952 2048 2080 1200 1229 1231 1261
|
||||||
|
Modeline "1920x1080" 23.53 1920 1952 2040 2072 1080 1106 1108 1135
|
||||||
|
Modeline "1680x1050" 20.08 1680 1712 1784 1816 1050 1075 1077 1103
|
||||||
|
Modeline "1600x1200" 22.04 1600 1632 1712 1744 1200 1229 1231 1261
|
||||||
|
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946
|
||||||
|
Modeline "1440x900" 30.66 1440 1472 1584 1616 900 921 924 946
|
||||||
|
ModeLine "1366x768" 72.00 1366 1414 1446 1494 768 771 777 803
|
||||||
|
Modeline "1280x1024" 31.50 1280 1312 1424 1456 1024 1048 1052 1076
|
||||||
|
Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841
|
||||||
|
Modeline "1280x768" 23.11 1280 1312 1392 1424 768 786 789 807
|
||||||
|
Modeline "1360x768" 24.49 1360 1392 1480 1512 768 786 789 807
|
||||||
|
Modeline "1024x768" 18.71 1024 1056 1120 1152 768 786 789 807
|
||||||
|
Modeline "768x1024" 19.50 768 800 872 904 1024 1048 1052 1076
|
||||||
|
|
||||||
|
|
||||||
|
#common resolutions for android devices (both orientations):
|
||||||
|
Modeline "800x1280" 25.89 800 832 928 960 1280 1310 1315 1345
|
||||||
|
Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841
|
||||||
|
Modeline "720x1280" 30.22 720 752 864 896 1280 1309 1315 1345
|
||||||
|
Modeline "1280x720" 27.41 1280 1312 1416 1448 720 737 740 757
|
||||||
|
Modeline "768x1024" 24.93 768 800 888 920 1024 1047 1052 1076
|
||||||
|
Modeline "1024x768" 23.77 1024 1056 1144 1176 768 785 789 807
|
||||||
|
Modeline "600x1024" 19.90 600 632 704 736 1024 1047 1052 1076
|
||||||
|
Modeline "1024x600" 18.26 1024 1056 1120 1152 600 614 617 631
|
||||||
|
Modeline "536x960" 16.74 536 568 624 656 960 982 986 1009
|
||||||
|
Modeline "960x536" 15.23 960 992 1048 1080 536 548 551 563
|
||||||
|
Modeline "600x800" 15.17 600 632 688 720 800 818 822 841
|
||||||
|
Modeline "800x600" 14.50 800 832 880 912 600 614 617 631
|
||||||
|
Modeline "480x854" 13.34 480 512 560 592 854 873 877 897
|
||||||
|
Modeline "848x480" 12.09 848 880 920 952 480 491 493 505
|
||||||
|
Modeline "480x800" 12.43 480 512 552 584 800 818 822 841
|
||||||
|
Modeline "800x480" 11.46 800 832 872 904 480 491 493 505
|
||||||
|
#resolutions for android devices (both orientations)
|
||||||
|
#minus the status bar
|
||||||
|
#38px status bar (and width rounded up)
|
||||||
|
Modeline "800x1242" 25.03 800 832 920 952 1242 1271 1275 1305
|
||||||
|
Modeline "1280x762" 22.93 1280 1312 1392 1424 762 780 783 801
|
||||||
|
Modeline "720x1242" 29.20 720 752 856 888 1242 1271 1276 1305
|
||||||
|
Modeline "1280x682" 25.85 1280 1312 1408 1440 682 698 701 717
|
||||||
|
Modeline "768x986" 23.90 768 800 888 920 986 1009 1013 1036
|
||||||
|
Modeline "1024x730" 22.50 1024 1056 1136 1168 730 747 750 767
|
||||||
|
Modeline "600x986" 19.07 600 632 704 736 986 1009 1013 1036
|
||||||
|
Modeline "1024x562" 17.03 1024 1056 1120 1152 562 575 578 591
|
||||||
|
Modeline "536x922" 16.01 536 568 624 656 922 943 947 969
|
||||||
|
Modeline "960x498" 14.09 960 992 1040 1072 498 509 511 523
|
||||||
|
Modeline "600x762" 14.39 600 632 680 712 762 779 783 801
|
||||||
|
Modeline "800x562" 13.52 800 832 880 912 562 575 578 591
|
||||||
|
Modeline "480x810" 12.59 480 512 552 584 810 828 832 851
|
||||||
|
Modeline "848x442" 11.09 848 880 920 952 442 452 454 465
|
||||||
|
Modeline "480x762" 11.79 480 512 552 584 762 779 783 801
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Screen"
|
||||||
|
Identifier "dummy_screen"
|
||||||
|
Device "dummy_videocard"
|
||||||
|
Monitor "dummy_monitor"
|
||||||
|
DefaultDepth 24
|
||||||
|
SubSection "Display"
|
||||||
|
Viewport 0 0
|
||||||
|
Depth 24
|
||||||
|
#Modes "32768x32768" "32768x16384" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
|
||||||
|
Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
|
||||||
|
Virtual 1280 720
|
||||||
|
#Virtual 1920 1080
|
||||||
|
EndSubSection
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "ServerLayout"
|
||||||
|
Identifier "dummy_layout"
|
||||||
|
Screen "dummy_screen"
|
||||||
|
EndSection
|
||||||
|
EOF
|
||||||
|
)"
|
10
type/__jitsi_jibri/gencode-remote
Executable file
10
type/__jitsi_jibri/gencode-remote
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
if grep -qE "__file" "${__messages_in}"; then
|
||||||
|
RESTART_SERVICES="YES"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${RESTART_SERVICES}" ]; then
|
||||||
|
echo "systemctl restart jibri"
|
||||||
|
echo "systemctl restart jibri-xorg"
|
||||||
|
fi
|
5
type/__jitsi_jibri/man.rst
Normal file
5
type/__jitsi_jibri/man.rst
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
TODO
|
||||||
|
|
||||||
|
last java (from debian 11) mostly works, but cuts a little bit of the video (between 2 to 5 seconds). with java8 this works ok
|
||||||
|
|
||||||
|
resolution is hardcoded to 720p (default resolution was 1080p), right now is not configurable
|
128
type/__jitsi_jibri/manifest
Executable file
128
type/__jitsi_jibri/manifest
Executable file
|
@ -0,0 +1,128 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
JIBRI_HOST="${__target_host}"
|
||||||
|
JIBRI_AUTH_PASS='jibriauthpass'
|
||||||
|
JIBRI_RECORDER_PASS='jibrirecorderpass'
|
||||||
|
|
||||||
|
os="$(cat "${__global}/explorer/os")"
|
||||||
|
kernel_release="$(cat "${__object}/explorer/kernel_release")"
|
||||||
|
case "${os}" in
|
||||||
|
devuan|debian)
|
||||||
|
if echo "${kernel_release}" | grep -qE "cloud|rt"; then
|
||||||
|
echo "using wrong kernel ${kernel_release}, do/use: apt install linux-image-amd64" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
#ubuntu)
|
||||||
|
#;;
|
||||||
|
# TODO on ubuntu you should also care about installing:
|
||||||
|
# linux-image-extra-virtual
|
||||||
|
# and to check for different kernel
|
||||||
|
# src https://github.com/jitsi/jibri#installation-notes
|
||||||
|
*)
|
||||||
|
echo "Your OS '${os}' is currently not supported." >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
__line '/etc/modules' --line 'snd_aloop' --onchange 'modprobe snd_aloop'
|
||||||
|
|
||||||
|
# thanks https://github.com/emrahcom/emrah-buster-templates/blob/master/machines/eb-jibri-template/usr/local/bin/finalize_recording.sh
|
||||||
|
__file '/opt/finalize_recording.sh' \
|
||||||
|
--mode '755' \
|
||||||
|
--source "${__type}/files/finalize_recording.sh"
|
||||||
|
|
||||||
|
__apt_key 'jitsi_meet' \
|
||||||
|
--source "${__type}/files/apt-jitsi-keyring.gpg"
|
||||||
|
|
||||||
|
require='__apt_key/jitsi_meet' __apt_source 'jitsi_meet' \
|
||||||
|
--uri 'https://download.jitsi.org' \
|
||||||
|
--distribution 'stable/'
|
||||||
|
|
||||||
|
__apt_key 'google-chrome' \
|
||||||
|
--source "${__type}/files/apt-google-chrome-keyring.gpg"
|
||||||
|
|
||||||
|
__apt_source 'debian9' \
|
||||||
|
--uri 'http://security.debian.org/debian-security' \
|
||||||
|
--distribution 'stretch/updates' \
|
||||||
|
--component 'main'
|
||||||
|
|
||||||
|
# google-chrome object id is important because after google-chrome installation
|
||||||
|
# the apt file would be duplicated, making apt update process to fail
|
||||||
|
require='__apt_key/google-chrome' __apt_source google-chrome \
|
||||||
|
--uri 'http://dl.google.com/linux/chrome/deb/' \
|
||||||
|
--distribution 'stable' \
|
||||||
|
--component 'main'
|
||||||
|
|
||||||
|
## Ensure apt cache is up-to-date
|
||||||
|
require='__apt_source/jitsi_meet __apt_source/google-chrome __apt_source/debian9' __check_messages update_jibri \
|
||||||
|
--pattern '^__apt_source/(jitsi_meet|google-chrome|debian9)' \
|
||||||
|
--execute 'apt update'
|
||||||
|
|
||||||
|
PKGS="$( grep -v '#' <<END
|
||||||
|
jibri
|
||||||
|
# extra deps
|
||||||
|
default-jre-headless ffmpeg curl alsa-utils icewm xdotool xserver-xorg-video-dummy ruby-hocon
|
||||||
|
google-chrome-stable
|
||||||
|
# old java for jibri
|
||||||
|
openjdk-8-jdk-headless
|
||||||
|
END
|
||||||
|
)"
|
||||||
|
|
||||||
|
for pkg in ${PKGS}; do
|
||||||
|
require='__check_messages/update_jibri' __package "${pkg}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# TODO CHROME_DRIVER explorer so this process is launched only if needed
|
||||||
|
# src https://github.com/jitsi/jibri#google-chrome-stable--chromedriver
|
||||||
|
CHROME_DRIVER_VERSION="$(cat "${__type}/files/chrome-driver-version")"
|
||||||
|
CHROME_DRIVER_HASH="$(cat "${__type}/files/chrome-driver-hash")"
|
||||||
|
__download '/tmp/chromedriver.zip' \
|
||||||
|
--url "https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip" \
|
||||||
|
--sum "${CHROME_DRIVER_HASH}"
|
||||||
|
CHROME_DRIVER_PATH='/usr/local/bin'
|
||||||
|
require='__download/tmp/chromedriver.zip' __unpack '/tmp/chromedriver.zip' \
|
||||||
|
--destination "${CHROME_DRIVER_PATH}" \
|
||||||
|
--onchange "chown root:root ${CHROME_DRIVER_PATH} && chmod 0755 ${CHROME_DRIVER_PATH}"
|
||||||
|
|
||||||
|
CHROME_POLICIES='/etc/opt/chrome/policies/managed'
|
||||||
|
require='__package/google-chrome-stable' __directory "${CHROME_POLICIES}" --parents
|
||||||
|
require="__directory/${CHROME_POLICIES}" __file "${CHROME_POLICIES}/managed_policies" \
|
||||||
|
--mode '644' \
|
||||||
|
--source '-' <<EOF
|
||||||
|
{ "CommandLineFlagSecurityWarningsEnabled": false }
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Proceed only after installation/upgrade has finished
|
||||||
|
export require='__package/jibri'
|
||||||
|
__user_groups 'jibri' --group 'adm' --group 'audio' --group 'video' --group 'plugdev'
|
||||||
|
|
||||||
|
# shellcheck source=type/__jitsi_jibri/files/jibri.conf.sh
|
||||||
|
. "${__type}/files/jibri.conf.sh" # This defines JIBRI_CONFIG
|
||||||
|
__file '/etc/jitsi/jibri/jibri.conf' \
|
||||||
|
--mode '0444' \
|
||||||
|
--source '-' <<EOF
|
||||||
|
${JIBRI_CONFIG}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# thanks https://community.jitsi.org/t/jibri-recording-resolution-to-record-a-full-window-at-720p-without-cropping/104442
|
||||||
|
# shellcheck source=type/__jitsi_jibri/files/xorg-video-dummy.conf
|
||||||
|
. "${__type}/files/xorg-video-dummy.conf.sh" # This defines JIBRI_XORG_CONFIG
|
||||||
|
__file '/etc/jitsi/jibri/xorg-video-dummy.conf' \
|
||||||
|
--mode '0444' \
|
||||||
|
--source '-' <<EOF
|
||||||
|
${JIBRI_XORG_CONFIG}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
__file '/opt/jitsi/jibri/launch.sh' \
|
||||||
|
--onchange 'systemctl daemon-reload && systemctl restart jibri.service' \
|
||||||
|
--mode 755 \
|
||||||
|
--source '-' <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
# Managed remotely, changes will be lost
|
||||||
|
|
||||||
|
exec /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file="/etc/jitsi/jibri/jibri.conf" -jar /opt/jitsi/jibri/jibri.jar --config "/etc/jitsi/jibri/config.json"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
__systemd_unit 'jibri.service' \
|
||||||
|
--enablement-state 'enabled'
|
0
type/__jitsi_jibri/singleton
Normal file
0
type/__jitsi_jibri/singleton
Normal file
14
type/__jitsi_meet/files/jibri.cfg.lua.sh
Normal file
14
type/__jitsi_meet/files/jibri.cfg.lua.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh -eu
|
||||||
|
|
||||||
|
# Source:
|
||||||
|
# https://github.com/jitsi/jibri#prosody
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034 # This is intended to be included
|
||||||
|
JIBRI_CONFIG="$(cat <<END
|
||||||
|
VirtualHost "recorder.${JITSI_HOST:?}"
|
||||||
|
modules_enabled = {
|
||||||
|
"ping";
|
||||||
|
}
|
||||||
|
authentication = "internal_plain"
|
||||||
|
END
|
||||||
|
)"
|
|
@ -30,5 +30,18 @@ cat <<EOF
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Jibri if needed
|
||||||
|
if [ "${JIBRI_STATE:?}" = "present" ]; then
|
||||||
|
cat <<EOF
|
||||||
|
|
||||||
|
jibri: {
|
||||||
|
// The JID of the MUC to be used as a brewery for jibri instances for streaming.
|
||||||
|
brewery-jid: "JibriBrewery@internal.auth.${JITSI_HOST:?}",
|
||||||
|
// How long to wait for Jibri to start recording from the time it accepts a START request.
|
||||||
|
pending-timeout: 90
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
# End
|
# End
|
||||||
echo '}'
|
echo '}'
|
||||||
|
|
|
@ -179,6 +179,34 @@ else
|
||||||
SECURED_DOMAINS_STATE='absent'
|
SECURED_DOMAINS_STATE='absent'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "${__object}/parameter/jibri" ]; then
|
||||||
|
JIBRI_STATE='present'
|
||||||
|
else
|
||||||
|
JIBRI_STATE='absent'
|
||||||
|
fi
|
||||||
|
|
||||||
|
export JIBRI_STATE
|
||||||
|
# shellcheck source=type/__jitsi_meet/files/prosody.cfg.lua.sh
|
||||||
|
. "${__type}/files/jibri.cfg.lua.sh" # This defines JIBRI_CONFIG
|
||||||
|
__file "/etc/prosody/conf.d/01_jibri.cfg.lua" \
|
||||||
|
--state "${JIBRI_STATE}" \
|
||||||
|
--group prosody \
|
||||||
|
--mode 0440 \
|
||||||
|
--source - <<EOF
|
||||||
|
${JIBRI_CONFIG}
|
||||||
|
EOF
|
||||||
|
# TODO/WARNING cleartext passwords
|
||||||
|
JIBRI_AUTH_PASS='jibriauthpass'
|
||||||
|
JIBRI_RECORDER_PASS='jibrirecorderpass'
|
||||||
|
__jitsi_meet_user "jibri" \
|
||||||
|
--password "${JIBRI_AUTH_PASS}" \
|
||||||
|
--domain "auth.${JITSI_HOST}" \
|
||||||
|
--state "${JIBRI_STATE}"
|
||||||
|
__jitsi_meet_user "recorder" \
|
||||||
|
--password "${JIBRI_RECORDER_PASS}" \
|
||||||
|
--domain "recorder.${JITSI_HOST}" \
|
||||||
|
--state "${JIBRI_STATE}"
|
||||||
|
|
||||||
# This is the main host config
|
# This is the main host config
|
||||||
PROSODY_MAIN_CONFIG="YES"
|
PROSODY_MAIN_CONFIG="YES"
|
||||||
# Prosody settings for common components (jvb, focus, ...)
|
# Prosody settings for common components (jvb, focus, ...)
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
disable-prometheus-exporter
|
disable-prometheus-exporter
|
||||||
secured-domains
|
secured-domains
|
||||||
|
jibri
|
||||||
|
|
|
@ -5,6 +5,7 @@ basic_urlencode() {
|
||||||
}
|
}
|
||||||
|
|
||||||
PASSWD="$(cat "${__object}/parameter/password" 2>/dev/null || true)"
|
PASSWD="$(cat "${__object}/parameter/password" 2>/dev/null || true)"
|
||||||
|
DOMAIN="$(cat "${__object}/parameter/domain" 2>/dev/null || true)"
|
||||||
STATE="$(cat "${__object}/parameter/state")"
|
STATE="$(cat "${__object}/parameter/state")"
|
||||||
|
|
||||||
if [ -z "${PASSWD}" ] && [ "${STATE}" != "absent" ]; then
|
if [ -z "${PASSWD}" ] && [ "${STATE}" != "absent" ]; then
|
||||||
|
@ -23,7 +24,10 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
JITSI_USER="$(basic_urlencode "${JITSI_USER_RAW}")"
|
JITSI_USER="$(basic_urlencode "${JITSI_USER_RAW}")"
|
||||||
FQDN="$(basic_urlencode "${__target_host}")"
|
if [ -z "${DOMAIN}" ]; then
|
||||||
|
DOMAIN="${__target_host}"
|
||||||
|
fi
|
||||||
|
FQDN="$(basic_urlencode "${DOMAIN}")"
|
||||||
FQDN_PATH="/var/lib/prosody/${FQDN}/accounts"
|
FQDN_PATH="/var/lib/prosody/${FQDN}/accounts"
|
||||||
FILENAME="${FQDN_PATH}/${JITSI_USER}.dat"
|
FILENAME="${FQDN_PATH}/${JITSI_USER}.dat"
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
password
|
password
|
||||||
state
|
state
|
||||||
|
domain
|
||||||
|
|
Loading…
Reference in a new issue