diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-05 10:36:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-09 09:18:07 +0200 |
commit | 84cae54e7a2595bea0c3ea106a4d111fd11a4ec6 (patch) | |
tree | 03fe73edf049ce60df6bbc34dcfb2031c07ea59c /server/controllers/api/config.ts | |
parent | 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 (diff) | |
download | PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.gz PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.zst PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.zip |
Add option to not transcode original resolution
Diffstat (limited to 'server/controllers/api/config.ts')
-rw-r--r-- | server/controllers/api/config.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index cfb750bc9..ff2fa9d86 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -227,6 +227,7 @@ function customConfig (): CustomConfig { | |||
227 | '1440p': CONFIG.TRANSCODING.RESOLUTIONS['1440p'], | 227 | '1440p': CONFIG.TRANSCODING.RESOLUTIONS['1440p'], |
228 | '2160p': CONFIG.TRANSCODING.RESOLUTIONS['2160p'] | 228 | '2160p': CONFIG.TRANSCODING.RESOLUTIONS['2160p'] |
229 | }, | 229 | }, |
230 | alwaysTranscodeOriginalResolution: CONFIG.TRANSCODING.ALWAYS_TRANSCODE_ORIGINAL_RESOLUTION, | ||
230 | webtorrent: { | 231 | webtorrent: { |
231 | enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED | 232 | enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED |
232 | }, | 233 | }, |
@@ -256,7 +257,8 @@ function customConfig (): CustomConfig { | |||
256 | '1080p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1080p'], | 257 | '1080p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1080p'], |
257 | '1440p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1440p'], | 258 | '1440p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['1440p'], |
258 | '2160p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['2160p'] | 259 | '2160p': CONFIG.LIVE.TRANSCODING.RESOLUTIONS['2160p'] |
259 | } | 260 | }, |
261 | alwaysTranscodeOriginalResolution: CONFIG.LIVE.TRANSCODING.ALWAYS_TRANSCODE_ORIGINAL_RESOLUTION | ||
260 | } | 262 | } |
261 | }, | 263 | }, |
262 | videoStudio: { | 264 | videoStudio: { |