live: {
enabled: true,
allowReplay: true,
- maxDuration: null,
+ maxDuration: -1,
transcoding: {
enabled: false,
resolutions: {
'480p': true,
'720p': true,
'1080p': true,
+ '1440p': true,
'2160p': true
}
}
})
it('Should correctly delete the video files after the stream ended', async function () {
- this.timeout(30000)
+ this.timeout(40000)
await stopFfmpeg(ffmpegCommand)
await checkVideosExist(liveVideoUUID, false, HttpStatusCode.OK_200)
await checkVideoState(liveVideoUUID, VideoState.LIVE_ENDED)
+ await waitJobs(servers)
+
// No resolutions saved since we did not save replay
await checkLiveCleanup(servers[0], liveVideoUUID, [])
})