aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
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/initializers/config.ts
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/initializers/config.ts')
-rw-r--r--server/initializers/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 705223b0a..0f58dc1d4 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -189,6 +189,7 @@ const CONFIG = {
189 get '480p' () { return config.get<boolean>('transcoding.resolutions.480p') }, 189 get '480p' () { return config.get<boolean>('transcoding.resolutions.480p') },
190 get '720p' () { return config.get<boolean>('transcoding.resolutions.720p') }, 190 get '720p' () { return config.get<boolean>('transcoding.resolutions.720p') },
191 get '1080p' () { return config.get<boolean>('transcoding.resolutions.1080p') }, 191 get '1080p' () { return config.get<boolean>('transcoding.resolutions.1080p') },
192 get '1440p' () { return config.get<boolean>('transcoding.resolutions.1440p') },
192 get '2160p' () { return config.get<boolean>('transcoding.resolutions.2160p') } 193 get '2160p' () { return config.get<boolean>('transcoding.resolutions.2160p') }
193 }, 194 },
194 HLS: { 195 HLS: {
@@ -221,6 +222,7 @@ const CONFIG = {
221 get '480p' () { return config.get<boolean>('live.transcoding.resolutions.480p') }, 222 get '480p' () { return config.get<boolean>('live.transcoding.resolutions.480p') },
222 get '720p' () { return config.get<boolean>('live.transcoding.resolutions.720p') }, 223 get '720p' () { return config.get<boolean>('live.transcoding.resolutions.720p') },
223 get '1080p' () { return config.get<boolean>('live.transcoding.resolutions.1080p') }, 224 get '1080p' () { return config.get<boolean>('live.transcoding.resolutions.1080p') },
225 get '1440p' () { return config.get<boolean>('live.transcoding.resolutions.1440p') },
224 get '2160p' () { return config.get<boolean>('live.transcoding.resolutions.2160p') } 226 get '2160p' () { return config.get<boolean>('live.transcoding.resolutions.2160p') }
225 } 227 }
226 } 228 }