diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-28 11:19:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-28 11:19:08 +0200 |
commit | 1593e0dd5c822d7f8d6b87048db5de4184c4f93c (patch) | |
tree | 986d73ccac42e90cb5179c06a416427e62ce15b7 /server/tests/api/live | |
parent | 1ce4256a6577d0607320a320d9c5d328bdd162f7 (diff) | |
download | PeerTube-1593e0dd5c822d7f8d6b87048db5de4184c4f93c.tar.gz PeerTube-1593e0dd5c822d7f8d6b87048db5de4184c4f93c.tar.zst PeerTube-1593e0dd5c822d7f8d6b87048db5de4184c4f93c.zip |
Add test for RTMP stream without audio
Diffstat (limited to 'server/tests/api/live')
-rw-r--r-- | server/tests/api/live/live.ts | 12 |
1 files changed, 12 insertions, 0 deletions
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 () { | |||
454 | await stopFfmpeg(ffmpegCommand) | 454 | await stopFfmpeg(ffmpegCommand) |
455 | }) | 455 | }) |
456 | 456 | ||
457 | it('Should transcode audio only RTMP stream', async function () { | ||
458 | this.timeout(120000) | ||
459 | |||
460 | liveVideoId = await createLiveWrapper(false) | ||
461 | |||
462 | const ffmpegCommand = await commands[0].sendRTMPStreamInVideo({ videoId: liveVideoId, fixtureName: 'video_short_no_audio.mp4' }) | ||
463 | await waitUntilLivePublishedOnAllServers(servers, liveVideoId) | ||
464 | await waitJobs(servers) | ||
465 | |||
466 | await stopFfmpeg(ffmpegCommand) | ||
467 | }) | ||
468 | |||
457 | it('Should enable transcoding with some resolutions', async function () { | 469 | it('Should enable transcoding with some resolutions', async function () { |
458 | this.timeout(120000) | 470 | this.timeout(120000) |
459 | 471 | ||