From 4e6c408c87b164f93deffad0a2a9ce57cd3e3dc3 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 17 Jan 2023 18:37:13 +0000 Subject: [PATCH] Enable live streams and transcoding --- configuration.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index c749836..745557c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -56,7 +56,7 @@ in { firewall = { enable = true; - allowedTCPPorts = [ 80 443 ]; + allowedTCPPorts = [ 80 443 1935 ]; }; }; @@ -130,6 +130,22 @@ in { bucket_name: 'v-lor-sh' prefix: 'videos/' base_url: 'https://v-lor-sh.sos-ch-gva-2.exoscale-cdn.com' + + transcoding: + resolutions: + 0p: true + 144p: true + 480p: true + 720p: true + 1080p: true + 2160p: true + + live: + enabled: true + transcoding: + resolutions: + 480p: true + 1080p: true EOF '';