aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index fc4a8b709..7322b89e2 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -188,6 +188,7 @@ const CONFIG = {
188 get ALLOW_ADDITIONAL_EXTENSIONS () { return config.get<boolean>('transcoding.allow_additional_extensions') }, 188 get ALLOW_ADDITIONAL_EXTENSIONS () { return config.get<boolean>('transcoding.allow_additional_extensions') },
189 get ALLOW_AUDIO_FILES () { return config.get<boolean>('transcoding.allow_audio_files') }, 189 get ALLOW_AUDIO_FILES () { return config.get<boolean>('transcoding.allow_audio_files') },
190 get THREADS () { return config.get<number>('transcoding.threads') }, 190 get THREADS () { return config.get<number>('transcoding.threads') },
191 get PROFILE () { return config.get<string>('transcoding.profile') },
191 RESOLUTIONS: { 192 RESOLUTIONS: {
192 get '0p' () { return config.get<boolean>('transcoding.resolutions.0p') }, 193 get '0p' () { return config.get<boolean>('transcoding.resolutions.0p') },
193 get '240p' () { return config.get<boolean>('transcoding.resolutions.240p') }, 194 get '240p' () { return config.get<boolean>('transcoding.resolutions.240p') },
@@ -221,6 +222,7 @@ const CONFIG = {
221 TRANSCODING: { 222 TRANSCODING: {
222 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') }, 223 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') },
223 get THREADS () { return config.get<number>('live.transcoding.threads') }, 224 get THREADS () { return config.get<number>('live.transcoding.threads') },
225 get PROFILE () { return config.get<string>('live.transcoding.profile') },
224 226
225 RESOLUTIONS: { 227 RESOLUTIONS: {
226 get '240p' () { return config.get<boolean>('live.transcoding.resolutions.240p') }, 228 get '240p' () { return config.get<boolean>('live.transcoding.resolutions.240p') },