Browse Source

Increase live delay

pull/3323/head
Chocobozzz 1 week ago
parent
commit
1648dcb509
No known key found for this signature in database GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      client/src/assets/player/peertube-player-manager.ts
  2. +1
    -1
      server/initializers/constants.ts

+ 1
- 1
client/src/assets/player/peertube-player-manager.ts View File

@@ -353,7 +353,7 @@ export class PeertubePlayerManager {
hlsjsConfig: {
capLevelToPlayerSize: true,
autoStartLoad: false,
liveSyncDurationCount: 5,
liveSyncDurationCount: 7,
loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass()
}
}


+ 1
- 1
server/initializers/constants.ts View File

@@ -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: 3,
EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 5,
RTMP: {
CHUNK_SIZE: 60000,
GOP_CACHE: true,


Loading…
Cancel
Save