aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server/config-command.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-05 10:36:19 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 09:18:07 +0200
commit84cae54e7a2595bea0c3ea106a4d111fd11a4ec6 (patch)
tree03fe73edf049ce60df6bbc34dcfb2031c07ea59c /shared/server-commands/server/config-command.ts
parent7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 (diff)
downloadPeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.gz
PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.tar.zst
PeerTube-84cae54e7a2595bea0c3ea106a4d111fd11a4ec6.zip
Add option to not transcode original resolution
Diffstat (limited to 'shared/server-commands/server/config-command.ts')
-rw-r--r--shared/server-commands/server/config-command.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts
index 3803aaf95..8ab750983 100644
--- a/shared/server-commands/server/config-command.ts
+++ b/shared/server-commands/server/config-command.ts
@@ -310,6 +310,7 @@ export class ConfigCommand extends AbstractCommand {
310 '1440p': false, 310 '1440p': false,
311 '2160p': false 311 '2160p': false
312 }, 312 },
313 alwaysTranscodeOriginalResolution: true,
313 webtorrent: { 314 webtorrent: {
314 enabled: true 315 enabled: true
315 }, 316 },
@@ -339,7 +340,8 @@ export class ConfigCommand extends AbstractCommand {
339 '1080p': true, 340 '1080p': true,
340 '1440p': true, 341 '1440p': true,
341 '2160p': true 342 '2160p': true
342 } 343 },
344 alwaysTranscodeOriginalResolution: true
343 } 345 }
344 }, 346 },
345 videoStudio: { 347 videoStudio: {