aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/custom-config.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-28 15:52:44 +0100
committerChocobozzz <me@florianbigard.com>2021-01-28 15:55:39 +0100
commit1896bca09e088b0da9d5e845407ecebae330618c (patch)
tree56041c445c0cd49aca536d0fd6b586730f4d341e /shared/models/server/custom-config.model.ts
parent529b37527cff5203a0689a15ce73dcee6e1eece2 (diff)
downloadPeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.gz
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.zst
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.zip
Support transcoding options/encoders by plugins
Diffstat (limited to 'shared/models/server/custom-config.model.ts')
-rw-r--r--shared/models/server/custom-config.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index a57237414..d23b8abef 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -87,6 +87,9 @@ export interface CustomConfig {
87 allowAudioFiles: boolean 87 allowAudioFiles: boolean
88 88
89 threads: number 89 threads: number
90
91 profile: string
92
90 resolutions: ConfigResolutions & { '0p': boolean } 93 resolutions: ConfigResolutions & { '0p': boolean }
91 94
92 webtorrent: { 95 webtorrent: {
@@ -110,6 +113,7 @@ export interface CustomConfig {
110 transcoding: { 113 transcoding: {
111 enabled: boolean 114 enabled: boolean
112 threads: number 115 threads: number
116 profile: string
113 resolutions: ConfigResolutions 117 resolutions: ConfigResolutions
114 } 118 }
115 } 119 }