feat(capytal,chat): voice calls support
This commit is contained in:
@@ -20,6 +20,13 @@
|
||||
support_role = "m.role.admin";
|
||||
support_email = "admin@capytal.cc";
|
||||
support_mxid = "@admin:capytal.cc";
|
||||
|
||||
rtc_focus_server_urls = [
|
||||
{
|
||||
type = "livekit";
|
||||
livekit_service_url = "https://livekit.capytal.cc";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -144,5 +151,28 @@
|
||||
'';
|
||||
};
|
||||
|
||||
services.livekit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
port = 9410;
|
||||
bind_addresses = ["0.0.0.0"];
|
||||
rtc = {
|
||||
tcp_port = 9411;
|
||||
port_range_start = 50100;
|
||||
port_range_end = 50200;
|
||||
use_external_ip = true;
|
||||
enable_loopback_candidate = false;
|
||||
};
|
||||
};
|
||||
keyFile = config.sops.secrets."livekit/key_file".path;
|
||||
};
|
||||
|
||||
services.lk-jwt-service = {
|
||||
enable = true;
|
||||
port = 9412;
|
||||
keyFile = config.sops.secrets."livekit/key_file".path;
|
||||
livekitUrl = "wss://livekit.capytal.cc";
|
||||
};
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = ["olm-3.2.16"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user