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 82d04a94e..065012b32 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -608,7 +608,9 @@ const HLS_REDUNDANCY_DIRECTORY = join(CONFIG.STORAGE.REDUNDANCY_DIR, 'hls')
608 608
609const VIDEO_LIVE = { 609const VIDEO_LIVE = {
610 EXTENSION: '.ts', 610 EXTENSION: '.ts',
611 CLEANUP_DELAY: 1000 * 60 * 5, // 5 mintues 611 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
612 SEGMENT_TIME: 4, // 4 seconds
613 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
612 RTMP: { 614 RTMP: {
613 CHUNK_SIZE: 60000, 615 CHUNK_SIZE: 60000,
614 GOP_CACHE: true, 616 GOP_CACHE: true,
@@ -620,7 +622,8 @@ const VIDEO_LIVE = {
620 622
621const MEMOIZE_TTL = { 623const MEMOIZE_TTL = {
622 OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours 624 OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours
623 INFO_HASH_EXISTS: 1000 * 3600 * 12 // 12 hours 625 INFO_HASH_EXISTS: 1000 * 3600 * 12, // 12 hours
626 LIVE_ABLE_TO_UPLOAD: 1000 * 60 // 1 minute
624} 627}
625 628
626const MEMOIZE_LENGTH = { 629const MEMOIZE_LENGTH = {