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:
parent
d897210c2d
commit
04aed76711
14 changed files with 96 additions and 96 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue