aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 892385a0a..da23c59a7 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: 7, 356 liveSyncDurationCount: 5,
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 083351d61..b33a62772 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: 5, 626 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4,
627 RTMP: { 627 RTMP: {
628 CHUNK_SIZE: 60000, 628 CHUNK_SIZE: 60000,
629 GOP_CACHE: true, 629 GOP_CACHE: true,