]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/config.ts
Check live duration and size
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / config.ts
index 3f2708f94a1a2fa4460e58b6a829dda953120ac2..2882ceb7c26c909f2f3bd1cb82351ff042f0a151 100644 (file)
@@ -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: {