Add test for RTMP stream without audio

pull/5325/head
Chocobozzz 2022-09-28 11:19:08 +02:00
parent 1ce4256a65
commit 1593e0dd5c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 12 additions and 0 deletions

View File

@ -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)