diff options
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index fb6f7ae62..63056b41d 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -297,12 +297,14 @@ const CONFIG = { | |||
297 | 297 | ||
298 | RTMP: { | 298 | RTMP: { |
299 | get ENABLED () { return config.get<boolean>('live.rtmp.enabled') }, | 299 | get ENABLED () { return config.get<boolean>('live.rtmp.enabled') }, |
300 | get PORT () { return config.get<number>('live.rtmp.port') } | 300 | get PORT () { return config.get<number>('live.rtmp.port') }, |
301 | get HOSTNAME () { return config.get<number>('live.rtmp.hostname') } | ||
301 | }, | 302 | }, |
302 | 303 | ||
303 | RTMPS: { | 304 | RTMPS: { |
304 | get ENABLED () { return config.get<boolean>('live.rtmps.enabled') }, | 305 | get ENABLED () { return config.get<boolean>('live.rtmps.enabled') }, |
305 | get PORT () { return config.get<number>('live.rtmps.port') }, | 306 | get PORT () { return config.get<number>('live.rtmps.port') }, |
307 | get HOSTNAME () { return config.get<number>('live.rtmps.hostname') }, | ||
306 | get KEY_FILE () { return config.get<string>('live.rtmps.key_file') }, | 308 | get KEY_FILE () { return config.get<string>('live.rtmps.key_file') }, |
307 | get CERT_FILE () { return config.get<string>('live.rtmps.cert_file') } | 309 | get CERT_FILE () { return config.get<string>('live.rtmps.cert_file') } |
308 | }, | 310 | }, |
@@ -324,6 +326,9 @@ const CONFIG = { | |||
324 | } | 326 | } |
325 | } | 327 | } |
326 | }, | 328 | }, |
329 | VIDEO_EDITOR: { | ||
330 | get ENABLED () { return config.get<boolean>('video_editor.enabled') } | ||
331 | }, | ||
327 | IMPORT: { | 332 | IMPORT: { |
328 | VIDEOS: { | 333 | VIDEOS: { |
329 | get CONCURRENCY () { return config.get<number>('import.videos.concurrency') }, | 334 | get CONCURRENCY () { return config.get<number>('import.videos.concurrency') }, |