updateLive,
wait,
waitJobs,
- waitUntilLiveStarts
+ waitUntilLivePublished,
+ waitUntilLiveWaiting
} from '../../../../shared/extra-utils'
const expect = chai.expect
live: {
enabled: true,
allowReplay: true,
- maxDuration: null,
+ maxDuration: -1,
transcoding: {
enabled: true,
resolutions: {
'480p': true,
'720p': true,
'1080p': true,
+ '1440p': true,
'2160p': true
}
}
})
it('Should stream into this permanent live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID)
for (const server of servers) {
- await waitUntilLiveStarts(server.url, server.accessToken, videoUUID)
+ await waitUntilLivePublished(server.url, server.accessToken, videoUUID)
}
await checkVideoState(videoUUID, VideoState.PUBLISHED)
await stopFfmpeg(command)
+ await waitUntilLiveWaiting(servers[0].url, servers[0].accessToken, videoUUID)
await waitJobs(servers)
})
live: {
enabled: true,
allowReplay: true,
- maxDuration: null,
+ maxDuration: -1,
transcoding: {
enabled: true,
resolutions: {
'480p': false,
'720p': false,
'1080p': false,
+ '1440p': false,
'2160p': false
}
}
const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID)
for (const server of servers) {
- await waitUntilLiveStarts(server.url, server.accessToken, videoUUID)
+ await waitUntilLivePublished(server.url, server.accessToken, videoUUID)
}
await checkVideoState(videoUUID, VideoState.PUBLISHED)