'1080p': false,
'2160p': false
},
+ webtorrent: {
+ enabled: true
+ },
hls: {
enabled: false
}
})
})
+ it('Should fail with a disabled webtorrent & hls transcoding', async function () {
+ const newUpdateParams = immutableAssign(updateParams, {
+ transcoding: {
+ hls: {
+ enabled: false
+ },
+ webtorrent: {
+ enabled: false
+ }
+ }
+ })
+
+ await makePutBodyRequest({
+ url: server.url,
+ path,
+ fields: newUpdateParams,
+ token: server.accessToken,
+ statusCodeExpected: 400
+ })
+ })
+
it('Should success with the correct parameters', async function () {
await makePutBodyRequest({
url: server.url,