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 /server/tests/api/live/live-permanent.ts | |
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 'server/tests/api/live/live-permanent.ts')
-rw-r--r-- | server/tests/api/live/live-permanent.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts index 9e6c6cf70..1128e993c 100644 --- a/server/tests/api/live/live-permanent.ts +++ b/server/tests/api/live/live-permanent.ts | |||
@@ -66,7 +66,7 @@ describe('Permenant live', function () { | |||
66 | live: { | 66 | live: { |
67 | enabled: true, | 67 | enabled: true, |
68 | allowReplay: true, | 68 | allowReplay: true, |
69 | maxDuration: null, | 69 | maxDuration: -1, |
70 | transcoding: { | 70 | transcoding: { |
71 | enabled: true, | 71 | enabled: true, |
72 | resolutions: { | 72 | resolutions: { |
@@ -155,7 +155,7 @@ describe('Permenant live', function () { | |||
155 | live: { | 155 | live: { |
156 | enabled: true, | 156 | enabled: true, |
157 | allowReplay: true, | 157 | allowReplay: true, |
158 | maxDuration: null, | 158 | maxDuration: -1, |
159 | transcoding: { | 159 | transcoding: { |
160 | enabled: true, | 160 | enabled: true, |
161 | resolutions: { | 161 | resolutions: { |