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/controllers/static.ts | |
parent | 110d463fece85e87a26aca48a6048ae0017a27b3 (diff) | |
download | PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.gz PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.zst PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.zip |
Live streaming implementation first step
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r-- | server/controllers/static.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 3f7bbdbae..e04c27b11 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -260,7 +260,14 @@ async function generateNodeinfo (req: express.Request, res: express.Response) { | |||
260 | webtorrent: { | 260 | webtorrent: { |
261 | enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED | 261 | enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED |
262 | }, | 262 | }, |
263 | enabledResolutions: getEnabledResolutions() | 263 | enabledResolutions: getEnabledResolutions('vod') |
264 | }, | ||
265 | live: { | ||
266 | enabled: CONFIG.LIVE.ENABLED, | ||
267 | transcoding: { | ||
268 | enabled: CONFIG.LIVE.TRANSCODING.ENABLED, | ||
269 | enabledResolutions: getEnabledResolutions('live') | ||
270 | } | ||
264 | }, | 271 | }, |
265 | import: { | 272 | import: { |
266 | videos: { | 273 | videos: { |