+ })
+
+ describe('Normal replay', function () {
+ let videoUUIDNonPermanent: string
+
+ before(async function () {
+ videoUUIDNonPermanent = await createLive(servers[0], false)
+ })
+
+ it('Should create a live and publish it on object storage', async function () {
+ this.timeout(240000)
+
+ const ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: videoUUIDNonPermanent })
+ await waitUntilLivePublishedOnAllServers(servers, videoUUIDNonPermanent)
+
+ await testLiveVideoResolutions({
+ originServer: servers[0],
+ sqlCommand: sqlCommandServer1,
+ servers,
+ liveVideoId: videoUUIDNonPermanent,
+ resolutions,
+ transcoded: true,
+ objectStorage
+ })
+
+ await stopFfmpeg(ffmpegCommand)
+ })
+
+ it('Should have saved the replay on object storage', async function () {
+ this.timeout(220000)
+
+ await waitUntilLiveReplacedByReplayOnAllServers(servers, videoUUIDNonPermanent)
+ await waitJobs(servers)