From b3eafc5fc5ffbb12089845ffe5da0329adb70093 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Jan 2021 08:43:53 +0100 Subject: Reduce transcoding overhead by disabling resolutions --- server/tests/plugins/plugin-transcoding.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/server/tests/plugins/plugin-transcoding.ts b/server/tests/plugins/plugin-transcoding.ts index 96ff4c2fe..90ef01b92 100644 --- a/server/tests/plugins/plugin-transcoding.ts +++ b/server/tests/plugins/plugin-transcoding.ts @@ -44,12 +44,24 @@ function updateConf (server: ServerInfo, vodProfile: string, liveProfile: string }, webtorrent: { enabled: true + }, + resolutions: { + '240p': true, + '360p': false, + '480p': false, + '720p': true } }, live: { transcoding: { profile: liveProfile, - enabled: true + enabled: true, + resolutions: { + '240p': true, + '360p': false, + '480p': false, + '720p': true + } } } }) -- cgit v1.2.3