Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Reduce transcoding overhead by disabling resolutions

Chocobozzzb3eafc5fc5ff
diff --git a/server/tests/plugins/plugin-transcoding.ts b/server/tests/plugins/plugin-transcoding.ts
index 96ff4c2fec..90ef01b92c 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
+ }
}
}
})