diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-15 09:23:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-15 09:26:37 +0100 |
commit | c9bc850e93295661e743255b8623ac8e2a95c391 (patch) | |
tree | 0dd03d2addfa03e0c92947b787af46414253a1c2 /shared | |
parent | d1742ede65d2a42ffc02ab230287d83d432416f1 (diff) | |
download | PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.gz PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.zst PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.zip |
Use -1 for max live duration unlimited
Diffstat (limited to 'shared')
-rw-r--r-- | shared/extra-utils/server/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index 3b6afe9ff..8702659c4 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts | |||
@@ -129,7 +129,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti | |||
129 | live: { | 129 | live: { |
130 | enabled: true, | 130 | enabled: true, |
131 | allowReplay: false, | 131 | allowReplay: false, |
132 | maxDuration: null, | 132 | maxDuration: -1, |
133 | maxInstanceLives: -1, | 133 | maxInstanceLives: -1, |
134 | maxUserLives: 50, | 134 | maxUserLives: 50, |
135 | transcoding: { | 135 | transcoding: { |