aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-28 15:52:44 +0100
committerChocobozzz <me@florianbigard.com>2021-01-28 15:55:39 +0100
commit1896bca09e088b0da9d5e845407ecebae330618c (patch)
tree56041c445c0cd49aca536d0fd6b586730f4d341e /shared/extra-utils/server/config.ts
parent529b37527cff5203a0689a15ce73dcee6e1eece2 (diff)
downloadPeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.gz
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.zst
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.zip
Support transcoding options/encoders by plugins
Diffstat (limited to 'shared/extra-utils/server/config.ts')
-rw-r--r--shared/extra-utils/server/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts
index 4e09e0412..8998da8b6 100644
--- a/shared/extra-utils/server/config.ts
+++ b/shared/extra-utils/server/config.ts
@@ -112,6 +112,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
112 allowAdditionalExtensions: true, 112 allowAdditionalExtensions: true,
113 allowAudioFiles: true, 113 allowAudioFiles: true,
114 threads: 1, 114 threads: 1,
115 profile: 'default',
115 resolutions: { 116 resolutions: {
116 '0p': false, 117 '0p': false,
117 '240p': false, 118 '240p': false,
@@ -138,6 +139,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
138 transcoding: { 139 transcoding: {
139 enabled: true, 140 enabled: true,
140 threads: 4, 141 threads: 4,
142 profile: 'default',
141 resolutions: { 143 resolutions: {
142 '240p': true, 144 '240p': true,
143 '360p': true, 145 '360p': true,