1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Shorter live methods

This commit is contained in:
Chocobozzz 2021-07-08 10:25:50 +02:00
parent d897210c2d
commit 04aed76711
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 96 additions and 96 deletions

View file

@ -57,7 +57,7 @@ describe('Test live', function () {
privacy: VideoPrivacy.PUBLIC
}
const { uuid } = await servers[0].liveCommand.createLive({ fields: liveAttributes })
const { uuid } = await servers[0].liveCommand.create({ fields: liveAttributes })
return uuid
}
@ -99,7 +99,7 @@ describe('Test live', function () {
await stopFfmpeg(ffmpegCommand)
for (const server of servers) {
await server.liveCommand.waitUntilLiveEnded({ videoId: liveVideoUUID })
await server.liveCommand.waitUntilEnded({ videoId: liveVideoUUID })
}
await waitJobs(servers)