X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Ftests%2Fapi%2Fcheck-params%2Fconfig.ts;h=2882ceb7c26c909f2f3bd1cb82351ff042f0a151;hb=fb7194043d0486ce0a6a40b2ffbdf32878c33a6f;hp=3f2708f94a1a2fa4460e58b6a829dda953120ac2;hpb=5fb2e2888ce032c638e4b75d07458642f0833e52;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index 3f2708f94..2882ceb7c 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts @@ -100,6 +100,25 @@ describe('Test config API validators', function () { enabled: false } }, + live: { + enabled: true, + + allowReplay: false, + maxDuration: null, + + transcoding: { + enabled: true, + threads: 4, + resolutions: { + '240p': true, + '360p': true, + '480p': true, + '720p': true, + '1080p': true, + '2160p': true + } + } + }, import: { videos: { http: {