aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-17 14:04:13 +0100
committerChocobozzz <me@florianbigard.com>2020-11-17 14:05:15 +0100
commit1648dcb5095061a200a9209d560fc7d5819e777d (patch)
tree0e2b8218f1a98e824ead9917fe96e134bfaf9839
parent6bff8ce23ac9a2de8c6ddcea9df5f7bd2b653156 (diff)
downloadPeerTube-1648dcb5095061a200a9209d560fc7d5819e777d.tar.gz
PeerTube-1648dcb5095061a200a9209d560fc7d5819e777d.tar.zst
PeerTube-1648dcb5095061a200a9209d560fc7d5819e777d.zip
Increase live delay
-rw-r--r--client/src/assets/player/peertube-player-manager.ts2
-rw-r--r--server/initializers/constants.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index da23c59a7..892385a0a 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -353,7 +353,7 @@ export class PeertubePlayerManager {
353 hlsjsConfig: { 353 hlsjsConfig: {
354 capLevelToPlayerSize: true, 354 capLevelToPlayerSize: true,
355 autoStartLoad: false, 355 autoStartLoad: false,
356 liveSyncDurationCount: 5, 356 liveSyncDurationCount: 7,
357 loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() 357 loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass()
358 } 358 }
359 } 359 }
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index fde87d9f8..083351d61 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -623,7 +623,7 @@ const VIDEO_LIVE = {
623 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes 623 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
624 SEGMENT_TIME_SECONDS: 4, // 4 seconds 624 SEGMENT_TIME_SECONDS: 4, // 4 seconds
625 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist 625 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
626 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 3, 626 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 5,
627 RTMP: { 627 RTMP: {
628 CHUNK_SIZE: 60000, 628 CHUNK_SIZE: 60000,
629 GOP_CACHE: true, 629 GOP_CACHE: true,