aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/custom-config.model.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/models/server/custom-config.model.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/models/server/custom-config.model.ts')
-rw-r--r--shared/models/server/custom-config.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index ab83ed497..bb9c7cef1 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -117,6 +117,8 @@ export interface CustomConfig {
117 117
118 resolutions: ConfigResolutions & { '0p': boolean } 118 resolutions: ConfigResolutions & { '0p': boolean }
119 119
120 alwaysTranscodeOriginalResolution: boolean
121
120 webtorrent: { 122 webtorrent: {
121 enabled: boolean 123 enabled: boolean
122 } 124 }
@@ -144,6 +146,7 @@ export interface CustomConfig {
144 threads: number 146 threads: number
145 profile: string 147 profile: string
146 resolutions: ConfigResolutions 148 resolutions: ConfigResolutions
149 alwaysTranscodeOriginalResolution: boolean
147 } 150 }
148 } 151 }
149 152