diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-26 10:48:53 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-26 11:08:38 +0100 |
commit | 73c695919c6569bfb667c36fc5a6b9b862130a0d (patch) | |
tree | 6a6b2a9007e2e3ec3a36bc0c649bedb83e2f9ca3 /server/initializers | |
parent | 1125c40a32cfd6066a5da5aa4da6d709577b5601 (diff) | |
download | PeerTube-73c695919c6569bfb667c36fc5a6b9b862130a0d.tar.gz PeerTube-73c695919c6569bfb667c36fc5a6b9b862130a0d.tar.zst PeerTube-73c695919c6569bfb667c36fc5a6b9b862130a0d.zip |
Add 30 fps limit in transcoding
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 2dc73770d..318df48bf 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -232,6 +232,7 @@ const CONSTRAINTS_FIELDS = { | |||
232 | } | 232 | } |
233 | 233 | ||
234 | let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour | 234 | let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour |
235 | const MAX_VIDEO_TRANSCODING_FPS = 30 | ||
235 | 236 | ||
236 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { | 237 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { |
237 | LIKE: 'like', | 238 | LIKE: 'like', |
@@ -442,6 +443,7 @@ export { | |||
442 | VIDEO_LICENCES, | 443 | VIDEO_LICENCES, |
443 | VIDEO_RATE_TYPES, | 444 | VIDEO_RATE_TYPES, |
444 | VIDEO_MIMETYPE_EXT, | 445 | VIDEO_MIMETYPE_EXT, |
446 | MAX_VIDEO_TRANSCODING_FPS, | ||
445 | USER_PASSWORD_RESET_LIFETIME, | 447 | USER_PASSWORD_RESET_LIFETIME, |
446 | IMAGE_MIMETYPE_EXT, | 448 | IMAGE_MIMETYPE_EXT, |
447 | SCHEDULER_INTERVAL, | 449 | SCHEDULER_INTERVAL, |