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.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index f8380eaa0..d1f94e6e6 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -609,7 +609,7 @@ const HLS_REDUNDANCY_DIRECTORY = join(CONFIG.STORAGE.REDUNDANCY_DIR, 'hls')
609const VIDEO_LIVE = { 609const VIDEO_LIVE = {
610 EXTENSION: '.ts', 610 EXTENSION: '.ts',
611 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes 611 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
612 SEGMENT_TIME: 4, // 4 seconds 612 SEGMENT_TIME_SECONDS: 4, // 4 seconds
613 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist 613 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
614 RTMP: { 614 RTMP: {
615 CHUNK_SIZE: 60000, 615 CHUNK_SIZE: 60000,
@@ -738,7 +738,8 @@ if (isTestInstance() === true) {
738 738
739 PLUGIN_EXTERNAL_AUTH_TOKEN_LIFETIME = 5000 739 PLUGIN_EXTERNAL_AUTH_TOKEN_LIFETIME = 5000
740 740
741 VIDEO_LIVE.CLEANUP_DELAY = 10000 741 VIDEO_LIVE.CLEANUP_DELAY = 5000
742 VIDEO_LIVE.SEGMENT_TIME_SECONDS = 2
742} 743}
743 744
744updateWebserverUrls() 745updateWebserverUrls()