diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-18 11:24:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-18 11:32:57 +0100 |
commit | e14de000f9d744d354322e65cc9fcdbfa2d0f432 (patch) | |
tree | 70ac005fd48534d085dc1b3653092e4b52b27f37 | |
parent | ea3674d04dd0a67962224073256dc7d4173527a5 (diff) | |
download | PeerTube-e14de000f9d744d354322e65cc9fcdbfa2d0f432.tar.gz PeerTube-e14de000f9d744d354322e65cc9fcdbfa2d0f432.tar.zst PeerTube-e14de000f9d744d354322e65cc9fcdbfa2d0f432.zip |
Update live settings edge delay
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 2 | ||||
-rw-r--r-- | server/initializers/constants.ts | 2 |
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, |