From 1593e0dd5c822d7f8d6b87048db5de4184c4f93c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Sep 2022 11:19:08 +0200 Subject: Add test for RTMP stream without audio --- server/tests/api/live/live.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'server/tests/api/live/live.ts') diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 885751285..c436f0f01 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -454,6 +454,18 @@ describe('Test live', function () { await stopFfmpeg(ffmpegCommand) }) + it('Should transcode audio only RTMP stream', async function () { + this.timeout(120000) + + liveVideoId = await createLiveWrapper(false) + + const ffmpegCommand = await commands[0].sendRTMPStreamInVideo({ videoId: liveVideoId, fixtureName: 'video_short_no_audio.mp4' }) + await waitUntilLivePublishedOnAllServers(servers, liveVideoId) + await waitJobs(servers) + + await stopFfmpeg(ffmpegCommand) + }) + it('Should enable transcoding with some resolutions', async function () { this.timeout(120000) -- cgit v1.2.3