aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index d12d96803..3cf9ea36d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -234,7 +234,10 @@ const CONSTRAINTS_FIELDS = {
234} 234}
235 235
236let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour 236let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour
237const MAX_VIDEO_TRANSCODING_FPS = 30 237const VIDEO_TRANSCODING_FPS = {
238 MIN: 10,
239 MAX: 30
240}
238 241
239const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { 242const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = {
240 LIKE: 'like', 243 LIKE: 'like',
@@ -445,7 +448,7 @@ export {
445 VIDEO_LICENCES, 448 VIDEO_LICENCES,
446 VIDEO_RATE_TYPES, 449 VIDEO_RATE_TYPES,
447 VIDEO_MIMETYPE_EXT, 450 VIDEO_MIMETYPE_EXT,
448 MAX_VIDEO_TRANSCODING_FPS, 451 VIDEO_TRANSCODING_FPS,
449 USER_PASSWORD_RESET_LIFETIME, 452 USER_PASSWORD_RESET_LIFETIME,
450 IMAGE_MIMETYPE_EXT, 453 IMAGE_MIMETYPE_EXT,
451 SCHEDULER_INTERVAL, 454 SCHEDULER_INTERVAL,