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 { hlsjsConfig: { capLevelToPlayerSize: true, autoStartLoad: false, - liveSyncDurationCount: 7, + liveSyncDurationCount: 5, loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() } } 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 = { CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes SEGMENT_TIME_SECONDS: 4, // 4 seconds SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist - EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 5, + EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4, RTMP: { CHUNK_SIZE: 60000, GOP_CACHE: true,