- const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video' })).uuid
- await waitJobs([ server ])
+ const command = await server.live.sendRTMPStreamInVideo({ videoId: liveVideoId, fixtureName: 'video_very_short_240p.mp4' })
+ await testFfmpegStreamError(command, true)
+ })
+
+ it('Should default to the default profile if the specified profile does not exist', async function () {
+ this.timeout(240000)
+
+ await server.plugins.uninstall({ npmName: 'peertube-plugin-test-transcoding-one' })
+
+ const config = await server.config.getConfig()
+
+ expect(config.transcoding.availableProfiles).to.deep.equal([ 'default' ])
+ expect(config.live.transcoding.availableProfiles).to.deep.equal([ 'default' ])