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.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 0d5e29499..1288768d8 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -271,9 +271,17 @@ const CONFIG = {
271 get ALLOW_REPLAY () { return config.get<boolean>('live.allow_replay') }, 271 get ALLOW_REPLAY () { return config.get<boolean>('live.allow_replay') },
272 272
273 RTMP: { 273 RTMP: {
274 get ENABLED () { return config.get<boolean>('live.rtmp.enabled') },
274 get PORT () { return config.get<number>('live.rtmp.port') } 275 get PORT () { return config.get<number>('live.rtmp.port') }
275 }, 276 },
276 277
278 RTMPS: {
279 get ENABLED () { return config.get<boolean>('live.rtmps.enabled') },
280 get PORT () { return config.get<number>('live.rtmps.port') },
281 get KEY_FILE () { return config.get<string>('live.rtmps.key_file') },
282 get CERT_FILE () { return config.get<string>('live.rtmps.cert_file') }
283 },
284
277 TRANSCODING: { 285 TRANSCODING: {
278 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') }, 286 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') },
279 get THREADS () { return config.get<number>('live.transcoding.threads') }, 287 get THREADS () { return config.get<number>('live.transcoding.threads') },