X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Flive%2Flive-permanent.ts;h=71b7d28a885c23232943468e8a017d7ecb2bced1;hb=693c6586cb896a84ff0f897b1c242bcf7bdcbaee;hp=a5bda009fccb0ef8cd44374716503b5c892e9723;hpb=b7085c713220c9c5a96c9bb77330c2ba6ae9274e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts index a5bda009f..71b7d28a8 100644 --- a/server/tests/api/live/live-permanent.ts +++ b/server/tests/api/live/live-permanent.ts @@ -8,6 +8,7 @@ import { createLive, doubleFollow, flushAndRunMultipleServers, + getCustomConfigResolutions, getLive, getPlaylistsCount, getVideo, @@ -26,7 +27,7 @@ import { const expect = chai.expect -describe('Permenant live', function () { +describe('Permanent live', function () { let servers: ServerInfo[] = [] let videoUUID: string @@ -69,15 +70,7 @@ describe('Permenant live', function () { maxDuration: -1, transcoding: { enabled: true, - resolutions: { - '240p': true, - '360p': true, - '480p': true, - '720p': true, - '1080p': true, - '1440p': true, - '2160p': true - } + resolutions: getCustomConfigResolutions(true) } } }) @@ -113,7 +106,7 @@ describe('Permenant live', function () { }) it('Should stream into this permanent live', async function () { - this.timeout(60000) + this.timeout(120000) const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) @@ -159,15 +152,7 @@ describe('Permenant live', function () { maxDuration: -1, transcoding: { enabled: true, - resolutions: { - '240p': false, - '360p': false, - '480p': false, - '720p': false, - '1080p': false, - '1440p': false, - '2160p': false - } + resolutions: getCustomConfigResolutions(false) } } })