aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-12-24 18:02:04 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-13 09:14:09 +0100
commitb7085c713220c9c5a96c9bb77330c2ba6ae9274e (patch)
treea2cefbd1742d5f2ba48f76759f3450171dc224f8 /server/controllers
parent7185dab3ff509cec9f03a15d826625b5a1bd0ada (diff)
downloadPeerTube-b7085c713220c9c5a96c9bb77330c2ba6ae9274e.tar.gz
PeerTube-b7085c713220c9c5a96c9bb77330c2ba6ae9274e.tar.zst
PeerTube-b7085c713220c9c5a96c9bb77330c2ba6ae9274e.zip
add support for 1440p (Quad HD/QHD/WQHD) videos
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index 2401e2ff4..8bc3123bf 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -423,6 +423,7 @@ function customConfig (): CustomConfig {
423 '480p': CONFIG.TRANSCODING.RESOLUTIONS['480p'], 423 '480p': CONFIG.TRANSCODING.RESOLUTIONS['480p'],
424 '720p': CONFIG.TRANSCODING.RESOLUTIONS['720p'], 424 '720p': CONFIG.TRANSCODING.RESOLUTIONS['720p'],
425 '1080p': CONFIG.TRANSCODING.RESOLUTIONS['1080p'], 425 '1080p': CONFIG.TRANSCODING.RESOLUTIONS['1080p'],
426 '1440p': CONFIG.TRANSCODING.RESOLUTIONS['1440p'],
426 '2160p': CONFIG.TRANSCODING.RESOLUTIONS['2160p'] 427 '2160p': CONFIG.TRANSCODING.RESOLUTIONS['2160p']
427 }, 428 },
428 webtorrent: { 429 webtorrent: {
@@ -447,6 +448,7 @@ function customConfig (): CustomConfig {
447 '480p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['480p'], 448 '480p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['480p'],
448 '720p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['720p'], 449 '720p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['720p'],
449 '1080p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1080p'], 450 '1080p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1080p'],
451 '1440p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1440p'],
450 '2160p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['2160p'] 452 '2160p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['2160p']
451 } 453 }
452 } 454 }