diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-04 13:40:02 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-03-09 09:23:10 +0100 |
commit | f443a74649174b2f9347c158e30f8ac7aa3e958a (patch) | |
tree | e423bc4e2307477bda4341037b7fa04ad10adae6 /server/lib/server-config-manager.ts | |
parent | 01dd04cd5ab7b55d2a9af7d0ebf405bee9579b09 (diff) | |
download | PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.gz PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.zst PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.zip |
Add latency setting support
Diffstat (limited to 'server/lib/server-config-manager.ts')
-rw-r--r-- | server/lib/server-config-manager.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts index 43ca2332b..744186cfc 100644 --- a/server/lib/server-config-manager.ts +++ b/server/lib/server-config-manager.ts | |||
@@ -137,6 +137,10 @@ class ServerConfigManager { | |||
137 | enabled: CONFIG.LIVE.ENABLED, | 137 | enabled: CONFIG.LIVE.ENABLED, |
138 | 138 | ||
139 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, | 139 | allowReplay: CONFIG.LIVE.ALLOW_REPLAY, |
140 | latencySetting: { | ||
141 | enabled: CONFIG.LIVE.LATENCY_SETTING.ENABLED | ||
142 | }, | ||
143 | |||
140 | maxDuration: CONFIG.LIVE.MAX_DURATION, | 144 | maxDuration: CONFIG.LIVE.MAX_DURATION, |
141 | maxInstanceLives: CONFIG.LIVE.MAX_INSTANCE_LIVES, | 145 | maxInstanceLives: CONFIG.LIVE.MAX_INSTANCE_LIVES, |
142 | maxUserLives: CONFIG.LIVE.MAX_USER_LIVES, | 146 | maxUserLives: CONFIG.LIVE.MAX_USER_LIVES, |