aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-12 17:26:23 +0200
committerChocobozzz <me@florianbigard.com>2019-06-12 17:26:23 +0200
commit00aa1f0d9b9a976a102773cb520f2464ef5c7540 (patch)
tree90ed4d44d75470ff0890332fe6038422859b2f11 /server/controllers/api/config.ts
parenta80e84f047dc3d2229f1c5df9f008298fafb85a0 (diff)
downloadPeerTube-00aa1f0d9b9a976a102773cb520f2464ef5c7540.tar.gz
PeerTube-00aa1f0d9b9a976a102773cb520f2464ef5c7540.tar.zst
PeerTube-00aa1f0d9b9a976a102773cb520f2464ef5c7540.zip
Add 4k conf in transcoding in admin panel
Diffstat (limited to 'server/controllers/api/config.ts')
-rw-r--r--server/controllers/api/config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index 27c416a12..1d12f701b 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -262,7 +262,8 @@ function customConfig (): CustomConfig {
262 '360p': CONFIG.TRANSCODING.RESOLUTIONS[ '360p' ], 262 '360p': CONFIG.TRANSCODING.RESOLUTIONS[ '360p' ],
263 '480p': CONFIG.TRANSCODING.RESOLUTIONS[ '480p' ], 263 '480p': CONFIG.TRANSCODING.RESOLUTIONS[ '480p' ],
264 '720p': CONFIG.TRANSCODING.RESOLUTIONS[ '720p' ], 264 '720p': CONFIG.TRANSCODING.RESOLUTIONS[ '720p' ],
265 '1080p': CONFIG.TRANSCODING.RESOLUTIONS[ '1080p' ] 265 '1080p': CONFIG.TRANSCODING.RESOLUTIONS[ '1080p' ],
266 '2160p': CONFIG.TRANSCODING.RESOLUTIONS[ '2160p' ]
266 }, 267 },
267 hls: { 268 hls: {
268 enabled: CONFIG.TRANSCODING.HLS.ENABLED 269 enabled: CONFIG.TRANSCODING.HLS.ENABLED