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.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index b40e525a5..7a8200ed9 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -198,6 +198,27 @@ const CONFIG = {
198 get ENABLED () { return config.get<boolean>('transcoding.webtorrent.enabled') } 198 get ENABLED () { return config.get<boolean>('transcoding.webtorrent.enabled') }
199 } 199 }
200 }, 200 },
201 LIVE: {
202 get ENABLED () { return config.get<boolean>('live.enabled') },
203
204 RTMP: {
205 get PORT () { return config.get<number>('live.rtmp.port') }
206 },
207
208 TRANSCODING: {
209 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') },
210 get THREADS () { return config.get<number>('live.transcoding.threads') },
211
212 RESOLUTIONS: {
213 get '240p' () { return config.get<boolean>('live.transcoding.resolutions.240p') },
214 get '360p' () { return config.get<boolean>('live.transcoding.resolutions.360p') },
215 get '480p' () { return config.get<boolean>('live.transcoding.resolutions.480p') },
216 get '720p' () { return config.get<boolean>('live.transcoding.resolutions.720p') },
217 get '1080p' () { return config.get<boolean>('live.transcoding.resolutions.1080p') },
218 get '2160p' () { return config.get<boolean>('live.transcoding.resolutions.2160p') }
219 }
220 }
221 },
201 IMPORT: { 222 IMPORT: {
202 VIDEOS: { 223 VIDEOS: {
203 HTTP: { 224 HTTP: {