diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-17 09:20:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e (patch) | |
tree | 79304b0152b0a38d33b26e65d4acdad0da4032a7 /server/tests/api/check-params | |
parent | 110d463fece85e87a26aca48a6048ae0017a27b3 (diff) | |
download | PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.gz PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.zst PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.zip |
Live streaming implementation first step
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/config.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index 3f2708f94..35cb333ef 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts | |||
@@ -100,6 +100,22 @@ describe('Test config API validators', function () { | |||
100 | enabled: false | 100 | enabled: false |
101 | } | 101 | } |
102 | }, | 102 | }, |
103 | live: { | ||
104 | enabled: true, | ||
105 | |||
106 | transcoding: { | ||
107 | enabled: true, | ||
108 | threads: 4, | ||
109 | resolutions: { | ||
110 | '240p': true, | ||
111 | '360p': true, | ||
112 | '480p': true, | ||
113 | '720p': true, | ||
114 | '1080p': true, | ||
115 | '2160p': true | ||
116 | } | ||
117 | } | ||
118 | }, | ||
103 | import: { | 119 | import: { |
104 | videos: { | 120 | videos: { |
105 | http: { | 121 | http: { |