diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 67df3df80..24b7e2655 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -14,7 +14,7 @@ let config: IConfig = require('config') | |||
14 | 14 | ||
15 | // --------------------------------------------------------------------------- | 15 | // --------------------------------------------------------------------------- |
16 | 16 | ||
17 | const LAST_MIGRATION_VERSION = 220 | 17 | const LAST_MIGRATION_VERSION = 225 |
18 | 18 | ||
19 | // --------------------------------------------------------------------------- | 19 | // --------------------------------------------------------------------------- |
20 | 20 | ||
@@ -282,7 +282,9 @@ const RATES_LIMIT = { | |||
282 | let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour | 282 | let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour |
283 | const VIDEO_TRANSCODING_FPS = { | 283 | const VIDEO_TRANSCODING_FPS = { |
284 | MIN: 10, | 284 | MIN: 10, |
285 | MAX: 30 | 285 | AVERAGE: 30, |
286 | MAX: 60, | ||
287 | KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum) | ||
286 | } | 288 | } |
287 | 289 | ||
288 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { | 290 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { |