aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-views.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 11:51:09 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit65e6e2602c0d5521f3a6740f7469bb92830ecb53 (patch)
treef89024ffff1dafb0281ee2fe028e89b95101bd44 /server/tests/api/live/live-views.ts
parentbc8090411ddaa8d742ce4de3c83f9dba7bc18e2a (diff)
downloadPeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.gz
PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.zst
PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.zip
Introduce config command
Diffstat (limited to 'server/tests/api/live/live-views.ts')
-rw-r--r--server/tests/api/live/live-views.ts15
1 files changed, 8 insertions, 7 deletions
diff --git a/server/tests/api/live/live-views.ts b/server/tests/api/live/live-views.ts
index a44d21ffa..ca571c962 100644
--- a/server/tests/api/live/live-views.ts
+++ b/server/tests/api/live/live-views.ts
@@ -15,7 +15,6 @@ import {
15 setAccessTokensToServers, 15 setAccessTokensToServers,
16 setDefaultVideoChannel, 16 setDefaultVideoChannel,
17 stopFfmpeg, 17 stopFfmpeg,
18 updateCustomSubConfig,
19 viewVideo, 18 viewVideo,
20 wait, 19 wait,
21 waitJobs, 20 waitJobs,
@@ -36,12 +35,14 @@ describe('Test live', function () {
36 await setAccessTokensToServers(servers) 35 await setAccessTokensToServers(servers)
37 await setDefaultVideoChannel(servers) 36 await setDefaultVideoChannel(servers)
38 37
39 await updateCustomSubConfig(servers[0].url, servers[0].accessToken, { 38 await servers[0].configCommand.updateCustomSubConfig({
40 live: { 39 newConfig: {
41 enabled: true, 40 live: {
42 allowReplay: true, 41 enabled: true,
43 transcoding: { 42 allowReplay: true,
44 enabled: false 43 transcoding: {
44 enabled: false
45 }
45 } 46 }
46 } 47 }
47 }) 48 })