aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-12 17:13:32 +0100
committerChocobozzz <me@florianbigard.com>2020-11-12 17:13:32 +0100
commit501af82d999a79e277f87794f6296d0e3495775c (patch)
tree1ba78d7c59446176d0ebf5a5bfb86c54859d09f1 /server/initializers
parent2122606318bf208262d1573ab8d9a772cd697448 (diff)
downloadPeerTube-501af82d999a79e277f87794f6296d0e3495775c.tar.gz
PeerTube-501af82d999a79e277f87794f6296d0e3495775c.tar.zst
PeerTube-501af82d999a79e277f87794f6296d0e3495775c.zip
Delay notification when waiting for a live
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 679503731..02e42a594 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -620,6 +620,7 @@ const VIDEO_LIVE = {
620 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes 620 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
621 SEGMENT_TIME_SECONDS: 4, // 4 seconds 621 SEGMENT_TIME_SECONDS: 4, // 4 seconds
622 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist 622 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
623 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 3,
623 RTMP: { 624 RTMP: {
624 CHUNK_SIZE: 60000, 625 CHUNK_SIZE: 60000,
625 GOP_CACHE: true, 626 GOP_CACHE: true,
@@ -750,6 +751,7 @@ if (isTestInstance() === true) {
750 751
751 VIDEO_LIVE.CLEANUP_DELAY = 5000 752 VIDEO_LIVE.CLEANUP_DELAY = 5000
752 VIDEO_LIVE.SEGMENT_TIME_SECONDS = 2 753 VIDEO_LIVE.SEGMENT_TIME_SECONDS = 2
754 VIDEO_LIVE.EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION = 1
753} 755}
754 756
755updateWebserverUrls() 757updateWebserverUrls()