diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/config.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 99aabba62..eb9f5f4b4 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -120,6 +120,8 @@ async function getConfig (req: express.Request, res: express.Response) { | |||
120 | 120 | ||
121 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, | 121 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, |
122 | maxDuration: CONFIG.LIVE.MAX_DURATION, | 122 | maxDuration: CONFIG.LIVE.MAX_DURATION, |
123 | maxInstanceLives: CONFIG.LIVE.MAX_INSTANCE_LIVES, | ||
124 | maxUserLives: CONFIG.LIVE.MAX_USER_LIVES, | ||
123 | 125 | ||
124 | transcoding: { | 126 | transcoding: { |
125 | enabled: CONFIG.LIVE.TRANSCODING.ENABLED, | 127 | enabled: CONFIG.LIVE.TRANSCODING.ENABLED, |
@@ -430,6 +432,8 @@ function customConfig (): CustomConfig { | |||
430 | enabled: CONFIG.LIVE.ENABLED, | 432 | enabled: CONFIG.LIVE.ENABLED, |
431 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, | 433 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, |
432 | maxDuration: CONFIG.LIVE.MAX_DURATION, | 434 | maxDuration: CONFIG.LIVE.MAX_DURATION, |
435 | maxInstanceLives: CONFIG.LIVE.MAX_INSTANCE_LIVES, | ||
436 | maxUserLives: CONFIG.LIVE.MAX_USER_LIVES, | ||
433 | transcoding: { | 437 | transcoding: { |
434 | enabled: CONFIG.LIVE.TRANSCODING.ENABLED, | 438 | enabled: CONFIG.LIVE.TRANSCODING.ENABLED, |
435 | threads: CONFIG.LIVE.TRANSCODING.THREADS, | 439 | threads: CONFIG.LIVE.TRANSCODING.THREADS, |