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 | |
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')
-rw-r--r-- | server/tests/api/live/live-permanent.ts | 4 | ||||
-rw-r--r-- | server/tests/api/live/live-save-replay.ts | 2 | ||||
-rw-r--r-- | server/tests/api/live/live.ts | 2 |
3 files changed, 4 insertions, 4 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: { |
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts index 6cd8cc23f..35fe4e7bd 100644 --- a/server/tests/api/live/live-save-replay.ts +++ b/server/tests/api/live/live-save-replay.ts | |||
@@ -90,7 +90,7 @@ describe('Save replay setting', function () { | |||
90 | live: { | 90 | live: { |
91 | enabled: true, | 91 | enabled: true, |
92 | allowReplay: true, | 92 | allowReplay: true, |
93 | maxDuration: null, | 93 | maxDuration: -1, |
94 | transcoding: { | 94 | transcoding: { |
95 | enabled: false, | 95 | enabled: false, |
96 | resolutions: { | 96 | resolutions: { |
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 918792081..939285ae8 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -348,7 +348,7 @@ describe('Test live', function () { | |||
348 | live: { | 348 | live: { |
349 | enabled: true, | 349 | enabled: true, |
350 | allowReplay: true, | 350 | allowReplay: true, |
351 | maxDuration: null, | 351 | maxDuration: -1, |
352 | transcoding: { | 352 | transcoding: { |
353 | enabled: true, | 353 | enabled: true, |
354 | resolutions: { | 354 | resolutions: { |