1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00
jitsi_ynh/conf/metronome.cfg.lua

86 lines
2.9 KiB
Lua
Raw Normal View History

2019-07-14 01:17:46 +02:00
component_ports = { __PORT_COMPONENT__ }
2020-06-18 15:03:24 +02:00
-- c2s_require_encryption = false --Why would it be needed?
-- s2s_secure_auth = false
2020-04-13 17:16:38 +02:00
2020-04-10 05:21:33 +02:00
plugin_paths = { "__FINAL_PATH__/jitsi-meet-prosody/" }
2020-04-11 21:55:05 +02:00
-- Make the focus user a global administrator
admins = { "__FOCUS_USER__@auth.__DOMAIN__" }
2020-04-11 21:55:05 +02:00
-- domain mapper options, must at least have domain base set to use the mapper
2020-04-10 05:21:33 +02:00
muc_mapper_domain_base = "__DOMAIN__";
2020-04-11 21:55:05 +02:00
2020-04-10 05:21:33 +02:00
cross_domain_bosh = false;
consider_bosh_secure = true;
2019-06-06 06:04:22 +02:00
VirtualHost "__DOMAIN__"
2020-04-15 08:50:39 +02:00
authentication = "anonymous"
2020-04-11 21:55:05 +02:00
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
--app_id="example_app_id"
--app_secret="example_app_secret"
2020-04-15 08:50:39 +02:00
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/etc/yunohost/certs/__DOMAIN__/key.pem";
certificate = "/etc/yunohost/certs/__DOMAIN__/crt.pem";
}
2020-04-10 05:21:33 +02:00
speakerstats_component = "speakerstats.__DOMAIN__"
conference_duration_component = "conferenceduration.__DOMAIN__"
-- we need bosh
modules_enabled = {
"pubsub";
"ping"; -- Enable mod_ping
"speakerstats";
"conference_duration";
2020-06-18 15:03:24 +02:00
"extdisco";
2020-04-10 05:21:33 +02:00
}
c2s_require_encryption = false
external_services = {
["__DOMAIN__"] = {
{ type = "stun", port = "4446", trasport = "udp" },
2020-06-18 02:54:47 +02:00
{ type = "stun", port = "4446", trasport = "tcp" },
{ type = "turn", port = "4446", transport = "udp", turn_secret = "__TURN_SECRET__", turn_ttl = "86400" },
2020-06-18 02:54:47 +02:00
{ type = "turns", port = "443", transport = "tcp", turn_secret = "__TURN_SECRET__", turn_ttl = "86400" }
}
}
2020-04-10 05:21:33 +02:00
2020-04-11 21:55:05 +02:00
Component "conference.__DOMAIN__" "muc"
modules_enabled = {
"muc_meeting_id";
"muc_domain_mapper";
2020-04-11 21:55:05 +02:00
-- "token_verification";
}
admins = { "__FOCUS_USER__@auth.__DOMAIN__" }
2020-05-01 15:18:03 +02:00
allow_anonymous_creation = true
instant_room_on_creation = true
room_default_whois = "anyone"
2020-04-11 21:55:05 +02:00
-- internal muc component
2020-04-10 05:21:33 +02:00
Component "internal.auth.__DOMAIN__" "muc"
modules_enabled = {
2020-04-10 05:21:33 +02:00
"ping";
}
2020-04-13 17:16:38 +02:00
admins = { "__FOCUS_USER__@auth.__DOMAIN__", "__VIDEOBRIDGE_USER__@auth.__DOMAIN__" }
2020-05-01 15:18:03 +02:00
instant_room_on_creation = true
room_default_whois = "anyone"
2019-06-06 06:04:22 +02:00
VirtualHost "auth.__DOMAIN__"
2020-04-15 08:50:39 +02:00
ssl = {
key = "/etc/yunohost/certs/auth.__DOMAIN__/key.pem";
certificate = "/etc/yunohost/certs/auth.__DOMAIN__/crt.pem";
}
storage = "internal"
authentication = "internal_plain"
2019-06-06 06:04:22 +02:00
Component "focus.__DOMAIN__"
component_secret = "__FOCUS_SECRET__"
2020-04-10 05:21:33 +02:00
Component "speakerstats.__DOMAIN__" "speakerstats_component"
muc_component = "conference.__DOMAIN__"
Component "conferenceduration.__DOMAIN__" "conference_duration_component"
2020-04-11 21:55:05 +02:00
muc_component = "conference.__DOMAIN__"